diff options
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r-- | channels/chan_misdn.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index de97eb012..81577113b 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -4354,6 +4354,17 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data) 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 * Infos with a Interdigit Timeout. |