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

Freeswitch SVN anthm at freeswitch.org
Tue Dec 18 13:27:57 EST 2007


Author: anthm
Date: Tue Dec 18 13:27:56 2007
New Revision: 6871

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

Log:
tweak

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	Tue Dec 18 13:27:56 2007
@@ -62,7 +62,7 @@
 							   char const *phrase,
 							   nua_t *nua, sofia_profile_t *profile, nua_handle_t *nh, sofia_private_t *sofia_private, sip_t const *sip, tagi_t tags[])
 {
-	if (status == 481 && sip) {
+	if (status >= 300 && sip) {
 		const char *call_id = sip->sip_call_id->i_id;
 		char *sql;
 		switch_core_hash_delete(profile->sub_hash, call_id);



More information about the Freeswitch-trunk mailing list