add disable_hold var or disable-hold profile param

This commit is contained in:
Anthony Minessale 2010-04-30 19:14:39 -05:00 committed by Jeff Lenk
parent a49cf256ad
commit bbf0e64830
1 changed files with 1 additions and 1 deletions

View File

@ -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))) {
sendonly = 0;
}