FreeSWITCHAPI
常
用
命
令
查
询
手
册
西安睿智电子科技有限公司
地址:陕西省西安市碑林区太白北路太白星座1115室
电话:02968711800
网址:www.verycc.com
acl,<ip><list_name>,Comparean ip to an acl list,mod_commands
检测IP与当前访问控制列表
alias,[add|stickyadd]<alias> <command> | del [<alias>|*]
Alias,mod_commands banner,,Return thesystem banner,mod_commands
别名
bg_system,<command>,
Execute a system command in thebackground,mod_commands
后台执行系统命令
bgapi,<command>[<arg>],
Execute an api command in athread,mod_commands
后台执行API命令
break,<uuid>[all],uuid_break,mod_commands
桥接命令
cdr_csv,parameters,cdr_csvcontrols,mod_cdr_csv
csv格式的CDR()
chat,<proto>|<from>|<to>|<message>|[<content-type>],chat,mod_dptools
发送消息
coalesce,[^^<delim>]<value1>,<value2>,...,
Return first nonemptyparameter,mod_commands
返回第一个非空参数
complete,add<word>|del [<word>|*],Complete,mod_commands
cond,<expr>? <true val> : <false val>,Evaluate a conditional,mod_commands
求表达式的值
conference,,Conferencemodule commands,mod_conference
console,loglevel[level]|colorize [on|toggle|off],Console,mod_console
调试日志级别
console_complete,<line>,,mod_commands
console_complete_xml,<line>,,mod_commands
create_uuid,<uuid><other_uuid>,Createa uuid,mod_commands
创建uuid
db,[insert|delete|select|exists|count|list]/<realm>/<key>/<value>
db get/set,mod_db
获取、设置数据库
db_cache,status,Managedb cache,mod_commands
管理数据库缓存
domain_data,<domain>[var|param|attr] <name>,
Find domain data,mod_commands
查找域名数据
domain_exists,<domain>,Check if a domainexists,mod_commands
检测域名是否存在
echo,<data>,Echo,mod_commands
enum,,ENUM,mod_enum
escape,<data>,Escape a string,mod_commands
转义字符串
eval,[uuid:<uuid>]<expression>,eval(noop),mod_commands
event_channel_broadcast,<channel><json>,Broadcast,mod_commands
事件广播
event_sink,<webdata>,event_sink,mod_event_socket
expand,[uuid:<uuid>]<cmd> <args>
Execute an api with variableexpansion,mod_commands
expr,<expr>,Eval an expression,mod_expr
fifo,list|list_verbose|count|debug|status|has_outbound|importance[<fifo name>]|reparse [del_all],Return data about a fifo,mod_fifo
fifo_add_outbound,<node><url> [<priority>],
Add outbound members to a fifo,mod_fifo
fifo_check_bridge,<uuid>|<outbound_id>,check if uuid is in abridge,mod_fifo
fifo_member,[add<fifo_name> <originate_string> [<simo_count>][<timeout>] [<lag>] [<expires>] [<taking_calls>] | del<fifo_name> <originate_string>],Add members to a fifo,mod_fifo
file_exists,<file>,Check if a file exists onserver,mod_commands
find_user_xml,<key><user> <domain>,Finda user,mod_commands
fsctl,[recover|send_sighup|hupall|pause[inbound|outbound]|resume [inbound|outbound]|shutdown[cancel|elegant|asap|now|restart]|sps|sps_peak_reset|sync_clock|sync_clock_when_idle|reclaim_mem|max_sessions|min_dtmf_duration[num]|max_dtmf_duration [num]|default_dtmf_duration [num]|min_idle_cpu|loglevel[level]|debug_level [level]],
FS control messages,mod_commands
getcputime,[reset],Gets CPU time in milliseconds
(user,kernel),mod_commands
getenv,<name>,getenv,mod_commands