From: Michael Jerris Date: Wed, 26 Oct 2011 19:35:03 +0000 (-0400) Subject: allow ;; seperated commands in fs_cli -x X-Git-Tag: v1.2-rc1~27^2~278^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbc92936f3e6e3f76d8021c04659eac4fd888dde;p=thirdparty%2Ffreeswitch.git allow ;; seperated commands in fs_cli -x --- diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 7c2f67dc49..84047c62cf 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -1320,7 +1320,7 @@ int main(int argc, char *argv[]) } if (argv_exec) { const char *err = NULL; - snprintf(cmd_str, sizeof(cmd_str), "api %s\n\n", argv_command); + snprintf(cmd_str, sizeof(cmd_str), "api %s\nconsole_execute: true\n\n", argv_command); if (timeout) { esl_status_t status = esl_send_recv_timed(&handle, cmd_str, timeout); if (status != ESL_SUCCESS) {