星号:注册无法访问 VOIP chan_sip.c:15171 sip_reg_timeout

星号:注册无法访问 VOIP chan_sip.c:15171 sip_reg_timeout

我正在尝试注册我的 VOIP,但无法注册并出现此按摩

   [Jul 24 12:45:58] NOTICE[24430]: chan_sip.c:15171 sip_reg_timeout:    -- Registration for '[email protected]' timed out, trying again (Attempt #11)

当我使用 sip show peers 时

   tellfree/xxxxxx          xxx.xx.xxx.xx                               Auto (No)  No             5060     UNREACHABLE[/code]

但它发生得很突然。

查看我的 sip.conf

   [general]
   allowguest=no
   autocreatepeer=no
   awayssauthreject=yes
   udpbindaddr=0.0.0.0:XXXX
   context=ramais
   externhost=XXXXXXXXXX.noip.us:XXXX
   localnet=192.1.1.2/255.255.255.0
   register => XXXXX:[email protected]:5060

   [tellfree]
   type=peer
   defaultuser=XXXXXXX
   secret=XXXXXXX
   context=ramais
   host=sip2.tellfree.net
   qualify=yes
   fromdomain=sip2.tellfree.net
   fromuser=XXXXXXXX
   allow=g729,ilbc,ulaw,alaw
   dtmfmode=rfc2833
   directmedia=no
   insecure=invite

答案1

sip2.tellfree.net能从你的服务器 ping 通吗?如果没有,则说明网络有问题。

如果您可以 ping 它,但无法从您的 Asterisk 实例访问它,则说明您存在配置/防火墙问题。

我猜测是 NAT、DNS 或 SIP 代理,但需要更多信息才能找到答案。

相关内容