提交 aba5892b authored 作者: Ken Rice's avatar Ken Rice 提交者: Michael Jerris

FS-8582 #resolve make sure the URL being passed here is not null

上级 35e360f1
...@@ -2206,7 +2206,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session) ...@@ -2206,7 +2206,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
var = switch_event_get_header(client->params, "url"); var = switch_event_get_header(client->params, "url");
if (client->record.action) { if (var && client->record.action) {
if (strcmp(var, client->record.action)) { if (strcmp(var, client->record.action)) {
switch_event_add_header_string(client->one_time_params, SWITCH_STACK_BOTTOM, "url", client->record.action); switch_event_add_header_string(client->one_time_params, SWITCH_STACK_BOTTOM, "url", client->record.action);
httapi_sync(client); httapi_sync(client);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论