add disable_hold var or disable-hold profile param
This commit is contained in:
parent
a49cf256ad
commit
bbf0e64830
|
@ -3392,7 +3392,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sofia_test_pflag(tech_pvt->profile, PFLAG_DISABLE_HOLD) ||
|
if (sofia_test_flag(tech_pvt->profile, PFLAG_DISABLE_HOLD) ||
|
||||||
((val = switch_channel_get_variable(tech_pvt->channel, "sip_disable_hold")) && switch_true(val))) {
|
((val = switch_channel_get_variable(tech_pvt->channel, "sip_disable_hold")) && switch_true(val))) {
|
||||||
sendonly = 0;
|
sendonly = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue