aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_misdn.c
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-12 13:36:45 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-12 13:36:45 +0000
commit1f7450806b0574cad2d7ef20abe86356906a5e7a (patch)
treebf3006b9158c44209dc7034ba1a4fe85bffa2175 /channels/chan_misdn.c
parent6bc7693d58885b4e0bc321c1e0213ff5a2f56145 (diff)
Merged revisions 89173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89173 | crichter | 2007-11-12 12:26:48 +0100 (Mo, 12 Nov 2007) | 1 line 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: http://svn.digium.com/svn/asterisk/trunk@89179 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r--channels/chan_misdn.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index ef7302be6..c0264bc92 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -4442,6 +4442,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.