FreeSwitch:四、FreeSwitch 常用命令

  1. 顯示註冊用戶 : show registrations
  2. vars.xml | 一些常用變量
    dialplan/default.xml | 缺省的撥號計劃
    directory/default/*.xml | SIP用戶,每用戶一個文件
    sip_profiles/internal.xml | 一個SIP profile,或稱作一個SIP-UA,監聽在本地IP及端口5060,一般供內網用戶使用
    sip_profiles/externa.xml | 另一個SIP-UA,用作外部連接,端口5080
    autoload_configs/modules.conf.xml | 配置當FreeSWITCH啓動時自動裝載哪些模塊

FS> sofia status profile internal (顯示多少用戶已註冊)
FS> originate sofia/profile/internal/1000 &echo (撥打1000並執行echo程序)
FS> originate user/1000 &echo (同上)
FS> originate sofia/profile/internal/1000 9999 (相當於在軟電話1000上撥打9999)
FS> originate sofia/profile/internal/1000 9999 XML default (同上)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章