[Freeswitch-branches] [commit] r11587 - freeswitch/branches/gmaruzz/mod_skypiax

FreeSWITCH SVN gmaruzz at freeswitch.org
Sun Feb 1 02:01:04 PST 2009


Author: gmaruzz
Date: Sun Feb  1 04:01:04 2009
New Revision: 11587

Log:
skypiax: FS: oooops, added a session_destroy when giving back NORMAL_TEMPORARY_FAILURE when trying to originate a call using a non-idle channel

Modified:
   freeswitch/branches/gmaruzz/mod_skypiax/mod_skypiax.c

Modified: freeswitch/branches/gmaruzz/mod_skypiax/mod_skypiax.c
==============================================================================
--- freeswitch/branches/gmaruzz/mod_skypiax/mod_skypiax.c	(original)
+++ freeswitch/branches/gmaruzz/mod_skypiax/mod_skypiax.c	Sun Feb  1 04:01:04 2009
@@ -503,6 +503,7 @@
                 strlen(interface_name)) == 0)) {
 		  if (strlen(globals.SKYPIAX_INTERFACES[i].session_uuid_str)){
 			  DEBUGA_SKYPE("globals.SKYPIAX_INTERFACES[%d].name=|||%s||| session_uuid_str=|||%s||| is BUSY\n", SKYPIAX_P_LOG, i, globals.SKYPIAX_INTERFACES[i].name, globals.SKYPIAX_INTERFACES[i].session_uuid_str);
+			  switch_core_session_destroy(new_session);
 			  return SWITCH_CAUSE_NORMAL_TEMPORARY_FAILURE ;
 		  }
 



More information about the Freeswitch-branches mailing list