mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
FS-9592: [mod_httapi] make sure to reset one time params when starting over in httapi app
This commit is contained in:
parent
654cf8c5ef
commit
4dacece6a3
@ -2275,6 +2275,7 @@ SWITCH_STANDARD_APP(httapi_function)
|
||||
}
|
||||
|
||||
if ((client = (client_t *) switch_channel_get_private(channel, "_HTTAPI_CLIENT_"))) {
|
||||
client_reset(client);
|
||||
if (params) {
|
||||
switch_event_merge(client->params, params);
|
||||
switch_event_destroy(¶ms);
|
||||
|
Loading…
x
Reference in New Issue
Block a user