mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
add _preconfigured_t38_options as a back door for opal
This commit is contained in:
1 parent
ebd3f4944c
commit
e804d95618
1 file changed
+7
-1
@@ -1102,8 +1102,14 @@ static t38_mode_t request_t38(pvt_t *pvt)
|
|||||||
enabled = 0;
|
enabled = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
t38_options = switch_core_session_alloc(session, sizeof(*t38_options));
|
|
||||||
|
if (!(t38_options = switch_channel_get_private(channel, "_preconfigured_t38_options"))) {
|
||||||
|
t38_options = switch_core_session_alloc(session, sizeof(*t38_options));
|
||||||
|
switch_channel_set_private(channel, "_preconfigured_t38_options", NULL);
|
||||||
|
}
|
||||||
|
|
||||||
t38_options->T38MaxBitRate = (pvt->disable_v17) ? 9600 : 14400;
|
t38_options->T38MaxBitRate = (pvt->disable_v17) ? 9600 : 14400;
|
||||||
t38_options->T38FaxVersion = 0;
|
t38_options->T38FaxVersion = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user