Make sure we propogate ANI2 to the outbound channel
authorMatthew Fredrickson <creslin@digium.com>
Thu, 11 Oct 2007 22:42:44 +0000 (22:42 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Thu, 11 Oct 2007 22:42:44 +0000 (22:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85499 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index a6b2768..3a1f123 100644 (file)
@@ -1405,6 +1405,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
                tc->cid.cid_pres = chan->cid.cid_pres;
                tc->cid.cid_ton = chan->cid.cid_ton;
                tc->cid.cid_tns = chan->cid.cid_tns;
+               tc->cid.cid_ani2 = chan->cid.cid_ani2;
                tc->adsicpe = chan->adsicpe;
                tc->transfercapability = chan->transfercapability;