mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-30 10:15:52 +00:00
fix FSCORE-146
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8869 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ae55323420
commit
363e596da6
@ -1200,8 +1200,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||
}
|
||||
}
|
||||
|
||||
if (switch_core_session_write_frame(session, &write_frame, SWITCH_IO_FLAG_NONE, 0) != SWITCH_STATUS_SUCCESS) {
|
||||
break;
|
||||
if ((ringback.fh || ringback.audio_buffer) && write_frame.codec && write_frame.datalen) {
|
||||
if (switch_core_session_write_frame(session, &write_frame, SWITCH_IO_FLAG_NONE, 0) != SWITCH_STATUS_SUCCESS) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user