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

Freeswitch SVN anthm at freeswitch.org
Mon Sep 18 12:32:47 EDT 2006


Author: anthm
Date: Mon Sep 18 12:32:47 2006
New Revision: 2744

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

Log:
sofia tweak

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Mon Sep 18 12:32:47 2006
@@ -609,13 +609,13 @@
 			if (switch_test_flag(tech_pvt, TFLAG_ANS)) {
 				nua_bye(tech_pvt->nh, TAG_END());
 			} else {
-				if (switch_test_flag(tech_pvt, TFLAG_INBOUND)) 
+				if (switch_test_flag(tech_pvt, TFLAG_INBOUND)) {
 					nua_respond(tech_pvt->nh, sip_cause, NULL, TAG_END());
-				else 
+				} else {
 					nua_cancel(tech_pvt->nh, TAG_END());
+				}
 			}
 		}
-		nua_handle_bind(tech_pvt->nh, NULL);
 		nua_handle_destroy(tech_pvt->nh);
 		tech_pvt->nh = NULL;
 	}



More information about the Freeswitch-svn mailing list