[Freeswitch-svn] [commit] r12902 - freeswitch/trunk/src/mod/endpoints/mod_sofia
FreeSWITCH SVN
anthm at freeswitch.org
Fri Apr 3 07:47:52 PDT 2009
Author: anthm
Date: Fri Apr 3 09:47:52 2009
New Revision: 12902
Log:
MODENDP-209
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 Fri Apr 3 09:47:52 2009
@@ -539,7 +539,8 @@
break;
}
- if ((sofia_private && sofia_private == &mod_sofia_globals.destroy_private) || (status >= 300 && status != 401 && status != 407 && status != 603)) {
+ if ((sofia_private && sofia_private == &mod_sofia_globals.destroy_private) ||
+ (!session && (status >= 300 && status != 401 && status != 407))) {
nua_handle_bind(nh, NULL);
nua_handle_destroy(nh);
nh = NULL;
More information about the Freeswitch-svn
mailing list