aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-01 15:59:26 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-01 15:59:26 +0000
commitcfa5d5657f6986b9a231c2bd016ab60e52186f52 (patch)
treed2fe9572f0f87b49cbae57307c226e99f8e5773c /apps/app_dial.c
parentbad005116b9e02951f170bfc59bbd4fe4bf0ec35 (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-xapps/app_dial.c2
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 */