git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1439 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-05-12 01:12:40 +00:00
parent e41718baa8
commit 7df4d982d6
2 changed files with 2 additions and 2 deletions

View File

@ -981,7 +981,7 @@ static int on_hangup(struct sangoma_pri *spri, sangoma_pri_event_t event_type, p
tech_pvt->cause = event->hangup.cause;
switch_channel_HANGUP(channel, SWITCH_CAUSE_NORMAL_CLEARING);
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
chanmap->map[event->hangup.channel] = NULL;
}

View File

@ -953,7 +953,7 @@ static void *woomera_channel_thread_run(switch_thread_t *thread, void *obj)
}
if (switch_test_flag(tech_pvt, TFLAG_ABORT)) {
switch_channel_HANGUP(channel, SWITCH_CAUSE_NORMAL_CLEARING);
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
udp_socket_close(tech_pvt);
break;
}