mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-8582 #resolve make sure the URL being passed here is not null
This commit is contained in:
parent
5ab62d8114
commit
99ca223f82
@ -2206,7 +2206,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
|
||||
|
||||
var = switch_event_get_header(client->params, "url");
|
||||
|
||||
if (client->record.action) {
|
||||
if (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);
|
||||
httapi_sync(client);
|
||||
|
Loading…
x
Reference in New Issue
Block a user