to be or not to be
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15024 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5211bce43b
commit
84090fe2f9
|
@ -682,7 +682,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_answer(switch_core_session_t
|
|||
|
||||
|
||||
if (!ringback.asis) {
|
||||
if (!(pass = (uint8_t) switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) {
|
||||
if ((pass = (uint8_t) switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) {
|
||||
goto no_ringback;
|
||||
}
|
||||
|
||||
|
@ -1748,7 +1748,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||
}
|
||||
|
||||
if (!ringback.asis) {
|
||||
if (!(pass = (uint8_t) switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) {
|
||||
if ((pass = (uint8_t) switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) {
|
||||
ringback_data = NULL;
|
||||
goto no_ringback;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue