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-11 10:55:24 -05:00
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(&params);