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


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