×

SIP trunk UNREACHABLE

hqy hqy 发表于2020-01-14 14:07:28 浏览2008 评论0

抢沙发发表评论

If you have configured in Asterisk (or you fron-end FreePBX) sip trunk provider of VoIP, but outbound link is not working, and in output:

# asterisk -rx "sip show peers"

you see that your sip trunk UNREACHABLE in the “Status” field, check the following settings:

  • Disable qualify option for the corresponding peer:

    qualify=no

    This will disable the periodic check availability of the peer. If you then outgoing calls via this trunk earned, it means that the provider is not response for checking packets (asterisk used packages OPTIONS with zero length). Possible reasons for this, see below

  • If asterisk (FreePBX) behind NAT (any type), check the settings in the instructions of the external IP:

    • in FreePBX get the desired options on the path Settings -> Asterisk SIP settings

    • or in sip.conf:

      externip=a.b.c.d
  • In severe cases, you can always thoroughly investigate include debug mode in the console asterisk (asterisk -r):

    pbx*CLI> sip set debug on
    SIP Debugging enabled
    pbx*CLI> core set debug 99
    Core debug was 0 and is now 99
    pbx*CLI> core set verbose 99
    Verbosity was 0 and is now 99


 您阅读本篇文章共花了: 

打赏

本文链接:https://kinber.cn/post/1144.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

群贤毕至

访客