freeswitch常用命令

1,sofia profile internal restart
2,list_users
3, 用法: show <item>
  item类型如下:
  codec
  endpoint
  application
  api
  dialplan
  file
  timer
  calls [count]
  channels [count|like <match string>]
  calls
  detailed_calls
  bridged_calls
  detailed_bridged_calls
  aliases
  complete
  chat
  management
  modules
  nat_map
  say
  interfaces
  interface_types
  tasks
  limits
4,xml_locate
5,pause 停止指定通道的媒体播放


6,查看当前注册信息sofia status profile internal reg
7,hupall
8,重启sip  sofia profile internal restart
9,打开sqlite3 数据库的命令
sqlite3 core.db
10,sofia global siptrace on
11,console loglevel debug(和f8的区别在哪还是一样的)
12,originate user/1000 &echo
13,originate user/1000 &playback(xxx.wav)
14,orgiinage user/100 &bridge(user/2000)
15,console loglevel info
16,注:一些状态或列表命令的返回结果默认是以逗号进行分隔的列表。一些模块的返回结果可能也会包含逗号,这样就导致针对结果的自动化处理比较困难。一个解决方法是,是在命令的最后加上“as xml”,这样返回的就是xml格式的结果。
17,global_getvar获取全局变量的值
18,md5返回MD5的值






switch_core_media_proxy_remote_addr


会议主持人:
conference 3000+flags{moderator}




<action application="conference" data="9999-vas.org@default" />
<action application="answer" />




 uuid_video_refresh <uuid>




chown www-data:www-data -R /var/www/html/freeswitch-www/










conference 9999 dial user/xxx (dial是阻塞的  ,bgdial是非阻塞的)




f734f502-034c-11e5-9425-1bf127b84a6a




------------------
号码 | 说明
----------------------
9999 | 保持音乐
9996 | echo,回音测试 
9992 | info,在控制台上显示呼叫参数
9888 | FreeSWITCH电话会议,每周召开
5900 | 呼叫挂起
5901 | 接听挂起的呼叫
5000 | 示例IVR
4000 | 听取语音信箱
33xx | 电话会议,48K(其中xx可为00-99,下同)
32xx | 电话会议,32K
31xx | 电话会议,16K
30xx | 电话会议,8K
2000-2002 | 呼叫组
1000-1019 | 默认分机号






关于freeswit的站点:
https://freeswitch.org/confluence/display/FREESWITCH/High+Availability
http://www.freeswitch.org.cn/posts.html
http://bbs.freeswitch.org.cn/
https://wiki.freeswitch.org/wiki/Main_Page
https://freeswitch.org/confluence/display/FREESWITCH/mod_conference
http://files.freeswitch.org/
https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video
https://webrtc.freeswitch.org/verto/index.html#page-main
jira.freeswitch.org 
http://cluecon.com/ 




http://101.231.214.34:8080/classcontrol/control.php?room=9999&sip=021200120000&oper=audio&state=0
http://101.231.214.34:8080/classcontrol/control.php?room=9999&sip=021200120000&oper=video
http://101.231.214.34:8080/classcontrol/control.php?room=9999&oper=classove->session);
}

你可能感兴趣的:(freeswitch常用命令)