mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Add restrictcid=[yes|no] for chan_zap and chan_sip. You can specify if the sip/zap users will have the callerid transmitted as ANI or CALLERID.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -568,6 +568,8 @@ static int dial_exec(struct ast_channel *chan, void *data)
|
||||
tmp->chan->ani = strdup(chan->ani);
|
||||
else
|
||||
tmp->chan->ani = NULL;
|
||||
/* Pass hidecallerid setting */
|
||||
tmp->chan->restrictcid = chan->restrictcid;
|
||||
/* Presense of ADSI CPE on outgoing channel follows ours */
|
||||
tmp->chan->adsicpe = chan->adsicpe;
|
||||
/* Place the call, but don't wait on the answer */
|
||||
|
||||
Reference in New Issue
Block a user