[svn-commits] crichter: branch 1.2 r64902 - /branches/1.2/channels/chan_misdn.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri May 18 01:24:09 MST 2007


Author: crichter
Date: Fri May 18 03:24:08 2007
New Revision: 64902

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64902
Log:
we *need* to send a PROCEEDING when sending_complete is set, even if need_more_infos is requested.

Modified:
    branches/1.2/channels/chan_misdn.c

Modified: branches/1.2/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_misdn.c?view=diff&rev=64902&r1=64901&r2=64902
==============================================================================
--- branches/1.2/channels/chan_misdn.c (original)
+++ branches/1.2/channels/chan_misdn.c Fri May 18 03:24:08 2007
@@ -3749,7 +3749,8 @@
 			if (!ch->noautorespond_on_setup) {
 				ch->state=MISDN_DIALING;
 
-				if (bc->nt || (bc->need_more_infos && misdn_lib_is_ptp(bc->port)) ) {
+				if (!bc->sending_complete &&
+						(bc->nt || (bc->need_more_infos && misdn_lib_is_ptp(bc->port)))) {
 					int ret; 
 					ret = misdn_lib_send_event(bc, EVENT_SETUP_ACKNOWLEDGE );
 				} else {



More information about the svn-commits mailing list