Allow doing digital PRI to PRI calls automatically

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-12-18 23:42:10 +00:00
parent 9e996ceef8
commit f96c0762ff
3 changed files with 41 additions and 0 deletions

View File

@@ -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);