minor simplification
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10516 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
aae3f4a3f8
commit
208a8be94f
|
@ -1628,7 +1628,7 @@ SWITCH_STANDARD_APP(phrase_function)
|
|||
*mdata++ = '\0';
|
||||
}
|
||||
|
||||
lang = switch_channel_get_variable(switch_core_session_get_channel(session), "language");
|
||||
lang = switch_channel_get_variable(channel, "language");
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Execute %s(%s) lang %s\n", macro, switch_str_nil(mdata), switch_str_nil(lang));
|
||||
|
||||
|
|
Loading…
Reference in New Issue