diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-10-01 15:59:26 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-10-01 15:59:26 +0000 |
commit | cfa5d5657f6986b9a231c2bd016ab60e52186f52 (patch) | |
tree | d2fe9572f0f87b49cbae57307c226e99f8e5773c /apps/app_dial.c | |
parent | bad005116b9e02951f170bfc59bbd4fe4bf0ec35 (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: http://svn.digium.com/svn/asterisk/trunk@1595 f38db490-d61c-443f-a65b-d21fe96a405b
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 */ |