提交 4a05f147 authored 作者: Anthony Minessale's avatar Anthony Minessale

up

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9762 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f53f6211
...@@ -216,6 +216,10 @@ static switch_status_t my_on_hangup(switch_core_session_t *session) ...@@ -216,6 +216,10 @@ static switch_status_t my_on_hangup(switch_core_session_t *session)
a_template_str = (const char *) switch_core_hash_find(globals.template_hash, accountcode); a_template_str = (const char *) switch_core_hash_find(globals.template_hash, accountcode);
} }
if (!g_template_str) {
g_template_str = "\"${accountcode}\",\"${caller_id_number}\",\"${destination_number}\",\"${context}\",\"${caller_id}\",\"${channel_name}\",\"${bridge_channel}\",\"${last_app}\",\"${last_arg}\",\"${start_stamp}\",\"${answer_stamp}\",\"${end_stamp}\",\"${duration}\",\"${billsec}\",\"${hangup_cause}\",\"${amaflags}\",\"${uuid}\",\"${userfield}\";";
}
if (!a_template_str) { if (!a_template_str) {
a_template_str = g_template_str; a_template_str = g_template_str;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论