Add usecallingpres keyword to zapata.conf for PRI to PRI call so that we would take the presentation mode and send it to outbound call.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-10-01 15:59:26 +00:00
parent 8cd100de39
commit cacfd42960
5 changed files with 42 additions and 3 deletions

View File

@@ -572,6 +572,8 @@ static int dial_exec(struct ast_channel *chan, void *data)
tmp->chan->ani = NULL;
/* Pass hidecallerid setting */
tmp->chan->restrictcid = chan->restrictcid;
/* Pass callingpres setting */
tmp->chan->callingpres = chan->callingpres;
/* Presense of ADSI CPE on outgoing channel follows ours */
tmp->chan->adsicpe = chan->adsicpe;
/* Place the call, but don't wait on the answer */