diff options
author | Martin Pycko <martinp@digium.com> | 2003-12-18 23:42:10 +0000 |
---|---|---|
committer | Martin Pycko <martinp@digium.com> | 2003-12-18 23:42:10 +0000 |
commit | f96c0762ff24135bdf3ed52f0be367e5d65998a4 (patch) | |
tree | 3e6dcf1531f45b32f4d5a26efcee9c8a57e20684 /apps | |
parent | 9e996ceef8e3a0c0174cd539714f4a3eeb250a49 (diff) |
Allow doing digital PRI to PRI calls automatically
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-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); |