From: Anthony Minessale Date: Tue, 11 Dec 2007 15:38:07 +0000 (+0000) Subject: change var name X-Git-Tag: v1.0-rc1~1193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b94e626b6947cc34c97670ec035f3cf6a8845c04;p=thirdparty%2Ffreeswitch.git change var name git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6641 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 4c59f94b8f..cb0739273b 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -1507,7 +1507,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session, new_channel = switch_core_session_get_channel(*new_session); - if ((context = switch_channel_get_variable(new_channel, "inbound_context"))) { + if ((context = switch_channel_get_variable(new_channel, "user_context"))) { if ((cp = switch_channel_get_caller_profile(new_channel))) { cp->context = switch_core_strdup(cp->pool, context); } diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 3aae8856c3..7ddbc9b4fc 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2053,7 +2053,7 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_ } if (!context) { - context = switch_channel_get_variable(channel, "inbound_context"); + context = switch_channel_get_variable(channel, "user_context"); } if (!context) {