提交 ce14c8f9 authored 作者: Brian West's avatar Brian West

Merge pull request #45 in FS/freeswitch from ~ANDEE/freeswitch-fs6803:master to master

* commit '6753ccf6':
  Missed one of the variable changes!
...@@ -149,9 +149,9 @@ static void translate_number(char *number, char *profile, char **translated, swi ...@@ -149,9 +149,9 @@ static void translate_number(char *number, char *profile, char **translated, swi
if ((switch_string_var_check_const(substituted) || switch_string_has_escaped_data(substituted))) { if ((switch_string_var_check_const(substituted) || switch_string_has_escaped_data(substituted))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "perform variable expansion\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "perform variable expansion\n");
if (session) { if (session) {
substituted = switch_channel_expand_variables(switch_core_session_get_channel(session), substituted); subbed = switch_channel_expand_variables(switch_core_session_get_channel(session), substituted);
} else if (event) { } else if (event) {
substituted = switch_event_expand_headers(event, substituted); subbed = switch_event_expand_headers(event, substituted);
} }
subbedlen = strlen(subbed) + 1; subbedlen = strlen(subbed) + 1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论