提交 34d6c498 authored 作者: Anthony Minessale's avatar Anthony Minessale

update example

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5439 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 da7640fa
......@@ -53,10 +53,12 @@ request.write("<input type=submit value=\"Execute\">");
request.write("</form><hr noshade size=1><br>");
if ((command = request.getHeader("command"))) {
cmd_list = command.split(" ", 2);
cmd_list = command.split(" ");
cmd = cmd_list.shift();
args = cmd_list.join(" ");
if ((reply = apiExecute(cmd_list[0], cmd_list[1]))) {
request.write("<B>Command Result</b><br><pre>" + reply + "\n</pre>");
if ((reply = apiExecute(cmd, args))) {
request.write("<br><B>Command Result</b><br><pre>" + reply + "\n</pre>");
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论