mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9040 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
266a56391e
commit
bc2fc3fa14
7 files changed
+57
-46
No files matched your search
@@ -444,11 +444,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_answer(switch_core_session_t
|
||||
switch_buffer_destroy(&ringback.audio_buffer);
|
||||
}
|
||||
|
||||
if (!pass && write_codec.implementation) {
|
||||
if (read_codec && !ringback.asis) {
|
||||
switch_core_session_set_read_codec(session, read_codec);
|
||||
switch_core_session_reset(session, SWITCH_TRUE);
|
||||
}
|
||||
switch_core_session_reset(session, SWITCH_TRUE);
|
||||
|
||||
if (write_codec.implementation) {
|
||||
switch_core_codec_destroy(&write_codec);
|
||||
}
|
||||
|
||||
@@ -1403,15 +1401,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||
switch_buffer_destroy(&ringback.audio_buffer);
|
||||
}
|
||||
|
||||
if (!pass && write_codec.implementation) {
|
||||
if (read_codec && !ringback.asis) {
|
||||
switch_core_session_set_read_codec(session, read_codec);
|
||||
switch_core_session_reset(session, SWITCH_FALSE);
|
||||
}
|
||||
switch_core_session_reset(session, SWITCH_FALSE);
|
||||
|
||||
if (write_codec.implementation) {
|
||||
switch_core_codec_destroy(&write_codec);
|
||||
}
|
||||
|
||||
|
||||
for (i = 0; i < and_argc; i++) {
|
||||
if (!peer_channels[i]) {
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user