提交 d1965b70 authored 作者: Anthony Minessale's avatar Anthony Minessale

let log and event work

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3165 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 776919d5
......@@ -224,8 +224,14 @@ sub handle_curses_input {
} else {
#see if we got connected at some point
if(defined($sockets{'localhost'})) {
#send the command
$sockets{'localhost'}->put("api $input");
my $cmd;
if ($input =~ /^log|^event/) {
$cmd = $input;
} else {
$cmd = "api $input";
}
#send the command
$sockets{'localhost'}->put($cmd);
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论