freeswitch部署公網沒聲音掛斷問題

Freeswitch 有3個種工作模式:

默認

Proxy Media http://wiki.freeswitch.org/wiki/Proxy_Media

Bypass Media http://wiki.freeswitch.org/wiki/Bypass_media

他們有什麼區別,請自行查找。

我們這裏說後兩種怎麼配置:

Proxy Media:

conf\sip_profiles\internal.xml 在 sip_profile 中設置proxy media 模式 其他模式註釋掉,

但是僅僅這樣還不行,還要在Dailplan中 ,在打電話bridge 之前

Bypass Media:

FreeSWITCH設置爲bypass-media模式,FS不會對SDP控制,音視頻也不走FS。

conf\sip_profiles\internal.xml中的設,將FreeSWITCH設爲bypass-media模式,其他模式註釋掉,

但是僅僅這樣還不行,還要在Dailplan中的default.xml的local-extension中設置bypass-media=true

這裏也有關於這2個模式的分析

http://log.medcl.net/item/2013/01/the-freeswitch-3-mode/

相關命令:

後臺啓動

freeswitch -nc

關閉後臺freeswitch

freeswitch -stop

是否開啓 SIP消息跟蹤。另外,也可以在控制檯上用以下命令開啓和關閉 sip-trace:

sofia profile internal siptrace on

sofia profile internal siptrace off

sofia status profile internal reg

5.1. 修改配置sip_profiles/internal.xml
修改ext-rtp-ip和ext-sip-ip爲freeswitch公網地址

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