mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 06:38:04 +00:00
switch_event: Correct the set of a uniq flag for request_param and channel_data event type.
This commit is contained in:
parent
564dc7e493
commit
1166f8d0de
@ -350,6 +350,10 @@ SWITCH_DECLARE(switch_status_t) switch_event_create_pres_in_detailed(_In_z_ char
|
||||
switch_status_t status = switch_event_create(event, SWITCH_EVENT_CLONE);
|
||||
if (status == SWITCH_STATUS_SUCCESS) {
|
||||
(*event)->event_id = event_id;
|
||||
|
||||
if (event_id == SWITCH_EVENT_REQUEST_PARAMS || event_id == SWITCH_EVENT_CHANNEL_DATA) {
|
||||
(*event)->flags |= EF_UNIQ_HEADERS;
|
||||
}
|
||||
}
|
||||
|
||||
return status;
|
||||
|
Loading…
x
Reference in New Issue
Block a user