[Freeswitch-branches] [commit] r11520 - freeswitch/branches/gmaruzz/mod_skypiax
FreeSWITCH SVN
gmaruzz at freeswitch.org
Tue Jan 27 15:12:50 PST 2009
Author: gmaruzz
Date: Tue Jan 27 17:12:50 2009
New Revision: 11520
Log:
skypiax: compiles on win32
Modified:
freeswitch/branches/gmaruzz/mod_skypiax/mod_skypiax.c
freeswitch/branches/gmaruzz/mod_skypiax/skypiax_protocol.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 Tue Jan 27 17:12:50 2009
@@ -476,6 +476,7 @@
private_t *tech_pvt;
switch_channel_t *channel;
switch_caller_profile_t *caller_profile;
+ char *rdest;
switch_core_session_add_stream(*new_session, NULL);
@@ -545,7 +546,6 @@
return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
}
- char *rdest;
rdest = strchr(caller_profile->destination_number, '/');
*rdest++ = '\0';
@@ -630,6 +630,7 @@
switch_mutex_init(&globals.mutex, SWITCH_MUTEX_NESTED, skypiax_module_pool);
if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) {
ERRORA("open of %s failed\n", SKYPIAX_P_LOG, cf);
+ running=0;
return SWITCH_STATUS_TERM;
}
Modified: freeswitch/branches/gmaruzz/mod_skypiax/skypiax_protocol.c
==============================================================================
--- freeswitch/branches/gmaruzz/mod_skypiax/skypiax_protocol.c (original)
+++ freeswitch/branches/gmaruzz/mod_skypiax/skypiax_protocol.c Tue Jan 27 17:12:50 2009
@@ -778,7 +778,7 @@
}
}
- switch_thread_exit(thread, SWITCH_STATUS_SUCCESS);
+ //switch_thread_exit(thread, SWITCH_STATUS_SUCCESS);
return NULL;
}
More information about the Freeswitch-branches
mailing list