diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-12-18 23:42:10 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-12-18 23:42:10 +0000 |
commit | 004e6fbc01058a6d4378591c952ff81224486fe2 (patch) | |
tree | 3e6dcf1531f45b32f4d5a26efcee9c8a57e20684 /apps/app_dial.c | |
parent | ec575218eade22e49ff78bf6bf8c2ebac1e2ad88 (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/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 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); |