aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-12-18 23:42:10 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-12-18 23:42:10 +0000
commit004e6fbc01058a6d4378591c952ff81224486fe2 (patch)
tree3e6dcf1531f45b32f4d5a26efcee9c8a57e20684 /apps
parentec575218eade22e49ff78bf6bf8c2ebac1e2ad88 (diff)
Allow doing digital PRI to PRI calls automatically
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1868 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 533812a87..06073c2fd 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -585,6 +585,8 @@ static int dial_exec(struct ast_channel *chan, void *data)
tmp->chan->callingpres = chan->callingpres;
/* Presense of ADSI CPE on outgoing channel follows ours */
tmp->chan->adsicpe = chan->adsicpe;
+ /* pass the digital flag */
+ ast_dup_flag(tmp->chan, chan, AST_FLAG_DIGITAL);
/* Place the call, but don't wait on the answer */
res = ast_call(tmp->chan, numsubst, 0);