freeswitch調試一


運行freeswitch之後,發現SIP電話無法註冊,freeswitch無SIP消息打印
freeswitch的打印開關爲:
sofia profile internal siptrace on 
sofia profile internal siptrace off


使用tcpdump抓包發現,虛擬機中其實已經收到註冊消息了,但每條消息之後,均有一條ICMP包

ICMP Destination Unreachable (Host administratively prohibited)


原來是CentOS防火牆開着,關閉防火牆之後,SIP電話立刻註冊上了。



下面是關閉CentOS防火牆的方法。
CentOS中關閉防火牆
1) 臨時生效,重啓後復原
開啓: service iptables start
關閉: service iptables stop
 
2) 永久性生效,重啓後不會復原
開啓: chkconfig iptables on
關閉: chkconfig iptables off


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