Skip to content
Snippets Groups Projects
Commit 8dd03ff2 authored by Mark Spencer's avatar Mark Spencer
Browse files

Move populate TNS/Presentation/TON from calling channel

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 04fc29c8
No related branches found
No related tags found
No related merge requests found
......@@ -823,6 +823,10 @@ static int dial_exec(struct ast_channel *chan, void *data)
strncpy(tmp->chan->musicclass, chan->musicclass, sizeof(tmp->chan->musicclass) - 1);
/* Pass callingpres setting */
tmp->chan->cid.cid_pres = chan->cid.cid_pres;
/* Pass type of number */
tmp->chan->cid.cid_ton = chan->cid.cid_ton;
/* Pass type of tns */
tmp->chan->cid.cid_tns = chan->cid.cid_tns;
/* Presense of ADSI CPE on outgoing channel follows ours */
tmp->chan->adsicpe = chan->adsicpe;
/* pass the digital flag */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment