FS-9592: [mod_httapi] make sure to reset one time params when starting over in httapi app

This commit is contained in:
Mike Jerris 2016-11-02 18:34:44 -04:00
parent 654cf8c5ef
commit 4dacece6a3
1 changed files with 1 additions and 0 deletions

View File

@ -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(&params);