aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-14 15:05:28 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-14 15:05:28 +0000
commit6bd6933a6c2bcf3f9c2b0aec97acdde9c3df0de3 (patch)
tree08b4b21738d348b64a0b06a8ee03a0100e39e0e3
parent2eb898c2e3aab00adda836e098ab0aeb2c81bfb8 (diff)
fixed the sequencing of WAITING_4DIGS state setting and overlap_task thread starting.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@92934 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_misdn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index ac7f2fc24..2233ca02b 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -4376,11 +4376,11 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data)
ch->overlap_tv = ast_tvnow();
ast_mutex_unlock(&ch->overlap_tv_lock);
+ wait_for_digits(ch, bc, chan);
if (ch->overlap_dial_task == -1)
ch->overlap_dial_task =
misdn_tasks_add_variable(ch->overlap_dial, misdn_overlap_dial_task, ch);
- wait_for_digits(ch, bc, chan);
break;
}