mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 23:24:18 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3210 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
08b2207573
commit
a3839376f7
2 files changed
+8
-1
No files matched your search
@@ -823,7 +823,11 @@ static switch_status_t engage_device(struct private_object *tech_pvt)
|
||||
} else {
|
||||
switch_core_codec_destroy(&tech_pvt->read_codec);
|
||||
switch_core_codec_destroy(&tech_pvt->write_codec);
|
||||
switch_core_session_destroy(&tech_pvt->session);
|
||||
if (switch_core_session_running(tech_pvt->session)) {
|
||||
switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
|
||||
} else {
|
||||
switch_core_session_destroy(&tech_pvt->session);
|
||||
}
|
||||
}
|
||||
|
||||
return SWITCH_STATUS_FALSE;
|
||||
|
||||
Reference in new issue
Block a user