[asterisk-commits] crichter: trunk r65006 - in /trunk: ./ channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 18 04:17:17 MST 2007


Author: crichter
Date: Fri May 18 06:17:16 2007
New Revision: 65006

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

................
r64904 | crichter | 2007-05-18 10:58:51 +0200 (Fr, 18 Mai 2007) | 9 lines

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:
    trunk/   (props changed)
    trunk/channels/chan_misdn.c

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

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?view=diff&rev=65006&r1=65005&r2=65006
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Fri May 18 06:17:16 2007
@@ -4210,7 +4210,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