[asterisk-commits] crichter: branch 1.4 r92934 - /branches/1.4/channels/chan_misdn.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 14 09:05:29 CST 2007


Author: crichter
Date: Fri Dec 14 09:05:28 2007
New Revision: 92934

URL: http://svn.digium.com/view/asterisk?view=rev&rev=92934
Log:
fixed the sequencing of WAITING_4DIGS state setting and overlap_task thread starting.

Modified:
    branches/1.4/channels/chan_misdn.c

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=92934&r1=92933&r2=92934
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Fri Dec 14 09:05:28 2007
@@ -4376,11 +4376,11 @@
 			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;
 		}
 




More information about the asterisk-commits mailing list