]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
change var name
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Dec 2007 15:38:07 +0000 (15:38 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Dec 2007 15:38:07 +0000 (15:38 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6641 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c
src/mod/endpoints/mod_sofia/sofia.c

index 4c59f94b8fbc9551decd4b5385d56145919d7032..cb0739273bad98cc839e34d5042fdba270190ef8 100644 (file)
@@ -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);
                                }
index 3aae8856c366e8dc5cc74985af52c11b8c8edd25..7ddbc9b4fccfaaabfb1b8577eb88fa9d49993159 100644 (file)
@@ -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) {