FS-9929: [core,mod_spandsp] Assert in switch_frame_buffer_dup when receiving a fax using t.38 #resolve

This commit is contained in:
Anthony Minessale 2017-01-10 11:20:20 -06:00 committed by Ken Rice
parent 708d71ccad
commit 862667f7e7
1 changed files with 1 additions and 0 deletions

View File

@ -640,6 +640,7 @@ static int t38_tx_packet_handler(t38_core_state_t *s, void *user_data, const uin
/* we need to build a real packet here and make write_frame.packet and write_frame.packetlen point to it */
out_frame.flags = SFF_UDPTL_PACKET | SFF_PROXY_PACKET;
out_frame.packet = pkt;
out_frame.buflen = LOCAL_FAX_MAX_DATAGRAM;
if ((r = udptl_build_packet(pvt->udptl_state, pkt, buf, len)) > 0) {
out_frame.packetlen = r;
//switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "WRITE %d udptl bytes\n", out_frame.packetlen);