git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@881 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2006-03-21 00:20:24 +00:00
1 parent a688382c3c
commit bc69b89cf9
4 files changed
+39 -3

No files matched your search

+7 -1
View File
@@ -855,7 +855,7 @@ static const switch_loadable_module_interface wanpipe_module_interface = {
static void s_pri_error(struct pri *pri, char *s)
{
switch_console_printf(SWITCH_CHANNEL_CONSOLE, s);
switch_console_printf(SWITCH_CHANNEL_CONSOLE_CLEAN, s);
}
static void s_pri_message(struct pri *pri, char *s)
@@ -1125,8 +1125,14 @@ static int on_restart(struct sangoma_pri *spri, sangoma_pri_event_t event_type,
switch_core_session *session;
struct channel_map *chanmap;
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "-- Restarting channel %d\n", event->restart.channel);
if (event->restart.channel < 1) {
return 0;
}
chanmap = spri->private_info;
if ((session = chanmap->map[event->restart.channel])) {