From 7e61bcf9bb99c72af10fc286d09252e241ea1616 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 21 Oct 2006 03:19:48 +0000 Subject: [PATCH] fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3133 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/socket/fsconsole.pl | 2 +- src/mod/applications/mod_conference/mod_conference.c | 2 +- src/mod/event_handlers/mod_event_socket/mod_event_socket.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/socket/fsconsole.pl b/scripts/socket/fsconsole.pl index db43e319fb..cf406f43dc 100644 --- a/scripts/socket/fsconsole.pl +++ b/scripts/socket/fsconsole.pl @@ -225,7 +225,7 @@ sub handle_curses_input { #see if we got connected at some point if(defined($sockets{'localhost'})) { #send the command - $sockets{'localhost'}->put($input); + $sockets{'localhost'}->put("api $input"); } } } diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 2ec41e4a1b..70c7652b22 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -2731,7 +2731,7 @@ static switch_api_interface_t conf_api_interface = { " lock\n" " unlock\n" " dial /\n" - " transfer ", + " transfer \n", /*.next */ }; diff --git a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c index 4ada1d7fc3..f85bfd3e02 100644 --- a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c +++ b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c @@ -555,7 +555,7 @@ static switch_status_t parse_command(listener_t *listener, switch_event_t *event acs.bg = 0; api_exec(NULL, (void *) &acs); - snprintf(reply, reply_len, "+OK"); + //snprintf(reply, reply_len, "+OK"); return SWITCH_STATUS_SUCCESS; } else if (!strncasecmp(cmd, "bgapi ", 6)) {