[Freeswitch-branches] [commit] r11585 - freeswitch/branches/gmaruzz/mod_skypiax
FreeSWITCH SVN
gmaruzz at freeswitch.org
Sun Feb 1 00:36:43 PST 2009
Author: gmaruzz
Date: Sun Feb 1 02:36:43 2009
New Revision: 11585
Log:
skypiax: FS: give 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 02:36:43 2009
@@ -500,6 +500,10 @@
(strncmp
(globals.SKYPIAX_INTERFACES[i].name, interface_name,
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);
+ return SWITCH_CAUSE_NORMAL_TEMPORARY_FAILURE ;
+ }
DEBUGA_SKYPE("globals.SKYPIAX_INTERFACES[%d].name=|||%s|||?\n", SKYPIAX_P_LOG,
i, globals.SKYPIAX_INTERFACES[i].name);
More information about the Freeswitch-branches
mailing list