mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 06:00:36 +00:00
if we're NT and no number was dialed and overlapdial is set, we wait for the ISDN timeout instead of starting our own timer. added a comment for the misdn.conf.sample for the overlapdial config option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4354,6 +4354,17 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* When we are NT and overlapdial is set and if
|
||||||
|
* the number is empty, we wait for the ISDN timeout
|
||||||
|
* instead of our own timer.
|
||||||
|
*/
|
||||||
|
if (ch->overlap_dial && bc->nt && !bc->dad[0] ) {
|
||||||
|
wait_for_digits(ch, bc, chan);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If overlapdial we will definitely send a SETUP_ACKNOWLEDGE and wait for more
|
* If overlapdial we will definitely send a SETUP_ACKNOWLEDGE and wait for more
|
||||||
* Infos with a Interdigit Timeout.
|
* Infos with a Interdigit Timeout.
|
||||||
|
|||||||
@@ -243,6 +243,13 @@ nttimeout=no
|
|||||||
;
|
;
|
||||||
method=standard
|
method=standard
|
||||||
|
|
||||||
|
|
||||||
|
; specify if chan_misdn should collect digits before going into the
|
||||||
|
; dialplan, you can choose yes=4 Seconds, no, or specify the amount
|
||||||
|
; of seconds you need;
|
||||||
|
;
|
||||||
|
overlapdial=yes
|
||||||
|
|
||||||
;
|
;
|
||||||
; dialplan means Type Of Number in ISDN Terms (for outgoing calls)
|
; dialplan means Type Of Number in ISDN Terms (for outgoing calls)
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user