forked from Mirrors/freeswitch
fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3133 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
beb4922646
commit
7e61bcf9bb
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2731,7 +2731,7 @@ static switch_api_interface_t conf_api_interface = {
|
||||
"<confname> lock\n"
|
||||
"<confname> unlock\n"
|
||||
"<confname> dial <endpoint_module_name>/<destination>\n"
|
||||
"<confname> transfer <member_id> <conference_name>",
|
||||
"<confname> transfer <member_id> <conference_name>\n",
|
||||
/*.next */
|
||||
};
|
||||
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user