]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9592: [mod_httapi] make sure to reset one time params when starting over in httapi app
authorMike Jerris <mike@jerris.com>
Wed, 2 Nov 2016 22:34:44 +0000 (18:34 -0400)
committerMike Jerris <mike@jerris.com>
Fri, 11 Nov 2016 15:55:24 +0000 (10:55 -0500)
src/mod/applications/mod_httapi/mod_httapi.c

index 74de05e842a7b346d83fe4bdb29470de637cb78b..70d7e39bd3983790f5d59f21fc461eb55ce4bc6d 100644 (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);