forked from Mirrors/freeswitch
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1439 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e41718baa8
commit
7df4d982d6
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user