diff options
author | Martin Pycko <martinp@digium.com> | 2003-10-01 15:59:26 +0000 |
---|---|---|
committer | Martin Pycko <martinp@digium.com> | 2003-10-01 15:59:26 +0000 |
commit | cacfd42960591a18dc9238f09dc41069a4210318 (patch) | |
tree | d2fe9572f0f87b49cbae57307c226e99f8e5773c /apps/app_dial.c | |
parent | 8cd100de39390c3c59e55bcffbfb43816a09997f (diff) |
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
Diffstat (limited to 'apps/app_dial.c')
-rwxr-xr-x | apps/app_dial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 4d36865a5..d13dfd9f1 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -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 */ |