Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (17492 => 17493)
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c 2010-05-05 20:14:27 UTC (rev 17492)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c 2010-05-05 20:14:57 UTC (rev 17493)
@@ -3392,7 +3392,7 @@
}
}
- 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;
}