mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
initial work on mod_wanpipe for windows. This does not work yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3536 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1013,18 +1013,28 @@ static switch_status_t wanpipe_outgoing_channel(switch_core_session_t *session,
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
static void s_pri_error(char *s)
|
||||
#else
|
||||
static void s_pri_error(struct pri *pri, char *s)
|
||||
#endif
|
||||
{
|
||||
if (globals.debug) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, s);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
static void s_pri_message(char *s)
|
||||
{
|
||||
s_pri_error(s);
|
||||
}
|
||||
#else
|
||||
static void s_pri_message(struct pri *pri, char *s)
|
||||
{
|
||||
s_pri_error(pri, s);
|
||||
}
|
||||
#endif
|
||||
|
||||
SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_module_interface_t **interface, char *filename)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user