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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 18 01:58:51 MST 2007


Author: crichter
Date: Fri May 18 03:58:51 2007
New Revision: 64904

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64904
Log:
Merged revisions 64902 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r64902 | crichter | 2007-05-18 10:24:08 +0200 (Fr, 18 Mai 2007) | 1 line

we *need* to send a PROCEEDING when sending_complete is set, even if need_more_infos is requested.
........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_misdn.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

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=64904&r1=64903&r2=64904
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Fri May 18 03:58:51 2007
@@ -4217,7 +4217,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 asterisk-commits mailing list