FS-2892
This commit is contained in:
parent
2343f68597
commit
92f4344072
|
@ -3732,6 +3732,14 @@ static switch_t38_options_t *tech_process_udptl(private_object_t *tech_pvt, sdp_
|
||||||
|
|
||||||
if (!t38_options) {
|
if (!t38_options) {
|
||||||
t38_options = switch_core_session_alloc(tech_pvt->session, sizeof(switch_t38_options_t));
|
t38_options = switch_core_session_alloc(tech_pvt->session, sizeof(switch_t38_options_t));
|
||||||
|
|
||||||
|
// set some default value
|
||||||
|
t38_options->T38FaxVersion = 0;
|
||||||
|
t38_options->T38MaxBitRate = 9600;
|
||||||
|
t38_options->T38FaxRateManagement = switch_core_session_strdup(tech_pvt->session, "transferredTCF");
|
||||||
|
t38_options->T38FaxUdpEC = switch_core_session_strdup(tech_pvt->session, "t38UDPRedundancy");
|
||||||
|
t38_options->T38FaxMaxBuffer = 500;
|
||||||
|
t38_options->T38FaxMaxDatagram = 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
t38_options->remote_port = (switch_port_t)m->m_port;
|
t38_options->remote_port = (switch_port_t)m->m_port;
|
||||||
|
|
Loading…
Reference in New Issue