tech_pvt->session_id = tech_pvt->owner_id;
}
+ if (switch_true(switch_channel_get_variable_dup(tech_pvt->channel, "drop_dtmf", SWITCH_FALSE, -1))) {
+ sofia_set_flag(tech_pvt, TFLAG_DROP_DTMF);
+ }
+
tech_pvt->session_id++;
if ((tech_pvt->profile->ndlb & PFLAG_NDLB_SENDRECV_IN_SESSION) ||
switch_core_session_set_private(session, tech_pvt);
- if (switch_true(switch_channel_get_variable_dup(tech_pvt->channel, "drop_dtmf", SWITCH_FALSE, -1))) {
- sofia_set_flag(tech_pvt, TFLAG_DROP_DTMF);
- }
-
if (channame) {
sofia_glue_set_name(tech_pvt, channame);