change channel app_flags to be realm specific and default old version to use __FILE__ as the realm name to avoid cross fire between apps using app flags

This commit is contained in:
Anthony Minessale
2010-07-22 14:37:21 -05:00
parent db1289dfaf
commit 09c1815c42
7 changed files with 75 additions and 38 deletions
+1 -1
View File
@@ -4691,7 +4691,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
match = sofia_glue_negotiate_sdp(session, r_sdp);
}
if (match && switch_channel_test_app_flag(tech_pvt->channel, CF_APP_T38)) {
if (match && switch_channel_test_app_flag_key("T38", tech_pvt->channel, CF_APP_T38)) {
goto done;
}