git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6641
d0543943-73ff-0310-b7d9-
9358b9ac24b2
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);
}
}
if (!context) {
- context = switch_channel_get_variable(channel, "inbound_context");
+ context = switch_channel_get_variable(channel, "user_context");
}
if (!context) {