返回列表 發帖
本帖最後由 bubblestar 於 2014-6-13 14:18 編輯

我用以下參數設定Asterisk 11 (CentOS 6.5 or Debian),都可以接通2bApp:
  1. /etc/hosts

  2. 203.80.89.135         s2hkbntel.net s21.hkbntel.net
  3. #203.80.89.139        s2hkbntel.net s22.hkbntel.net
  4. #203.80.89.146        s2hkbntel.net s23.hkbntel.net
  5. #203.80.89.150        s2hkbntel.net s24.hkbntel.net

  6. sip.conf

  7. register = 36xxxxxxhk:mypasswd@s2hkbntel.net:5060/36xxxxxx

  8. [2bapp]
  9. type = peer
  10. defaultuser = 36xxxxxxhk
  11. fromuser = 36xxxxxxhk
  12. secret = mypasswd
  13. host = s2hkbntel.net
  14. fromdomain = s2hkbntel.net
  15. canreinvite = no
  16. insecure = port,invite
  17. qualify = yes
  18. ;nat=force_rport,comedia
  19. port = 5060
  20. context = from-2bapp
  21. dtmfmode = auto
  22. disallow = all
  23. allow = ulaw
  24. allow = alaw
複製代碼

TOP

返回列表