[Freeswitch-svn] [commit] r12655 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN brian at freeswitch.org
Wed Mar 18 09:02:51 PDT 2009


Author: brian
Date: Wed Mar 18 11:02:50 2009
New Revision: 12655

Log:
We get status of 100 on a 302.  This will fix a bug reported from IRC.


Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Wed Mar 18 11:02:50 2009
@@ -2691,7 +2691,7 @@
 			}
 		}
 
-		if (channel && sip && (status >= 300 && status < 399) && switch_channel_test_flag(channel, CF_OUTBOUND)) {
+		if (channel && sip && status == 100 && switch_channel_test_flag(channel, CF_OUTBOUND)) {
 			sip_contact_t * p_contact = sip->sip_contact;
 			int i = 0;
 			char var_name[80];	



More information about the Freeswitch-svn mailing list