Board logo

標題: 近期的HKBN 2B 設定 [打印本頁]

作者: candenn    時間: 2014-4-30 23:16     標題: 近期的HKBN 2B 設定

各位師兄,不知道現在還有沒有人用 Asterisk 連接 HKBN 2B 呢?因為小弟的2B 突然不能被 Asterisk 使用。有沒有師兄遇到同樣情況呢?
作者: bubblestar    時間: 2014-4-30 23:38

這幾天開始,我也只能在一部手機或一台Asterisk上註冊使用,以往是可以同時在幾部機上註冊到的。
作者: candenn    時間: 2014-4-30 23:43

我現在Asterisk完全用不到。Proxy Server 傳回 404 not found.....
config沒有改動過呢
作者: bubblestar    時間: 2014-5-1 00:02

config 沒有改變,只是不能同時在超過一部Device 上註冊了。
作者: 角色    時間: 2014-5-1 00:42

但是PC版的HKBN 2b依然可以multiple logins。
作者: 雯雯    時間: 2014-5-1 10:28

我的2B沒有這個問題.
作者: longlong2k    時間: 2014-5-12 11:13

Registration from my Asterisk eventually succeeded. However, I'm getting the "487 Request Terminated" back when trying to make call. I am connecting from Canada.
作者: 角色    時間: 2014-5-12 22:19

What kind of HKBN 2b that you have? PC version or 2b App?

In order to help you solve your issue, please please provide your sip.conf and extensions.conf configuration for HKBN 2b.
作者: longlong2k    時間: 2014-5-13 08:36

It turned out to be the problem of dyndns. Got stung when they ditched free dns services. Switched dynamic DNS services provider. Everything is okay now. Thx.
作者: ckleea    時間: 2014-5-17 22:07

Not working to register today.

Called up technical support. They told me that they had problems. Not yet fixed.
作者: 電腦超人    時間: 2014-5-24 00:49

今天的2b不知是他們還是我的線路有問題...
接通是接通的...撥至手機也有響...
但是響了4下左右便斷線...
(但4下撥號聲前接聽到的話也可正常通話...)

我試過用其他的TRUNK撥出是長響的...
可響至連接到留言信箱...

我想看看其他的USER有沒有一樣的情況......
作者: SuiYan    時間: 2014-5-24 01:16

呢個問題,我記得在這裡有人問過。
作者: candenn    時間: 2014-6-12 16:56

而家我部 Asterisk 仍然用唔到2B account。 register 時出 404 not found. 設定由第一日沒有改變。奇怪。

暫時投降。
作者: 角色    時間: 2014-6-12 17:58

我的没有问题,你的settings是怎样?
作者: candenn    時間: 2014-6-13 00:13

本帖最後由 candenn 於 2014-6-13 00:24 編輯

這個設定已經用了一年左右了。
今年年頭突然用唔到,發現原來2b 服務開始用 g729。我設定好 g729又行得番。
跟住今年四月 restart 系統後,asterisk 再也連接不到 2b 了。
謝謝。
error:
Got 404 Not found on SIP register to service ......
  1. cat /etc/hosts
  2. 203.80.89.139 s2hkbntel.net s22.s2hkbntel.net



  3. [hkbn2b]
  4. disallow=all
  5. type=friend
  6. nat=yes
  7. username=3494xxxxhk
  8. authuser=3494xxxxhk
  9. secret=password
  10. port=5060
  11. host=s2hkbntel.net
  12. fromuser=3494xxxxhk
  13. fromdomain=s2hkbntel.net
  14. canreinvite=no
  15. insecure=port,invite
  16. dtmfmode=rfc2833
  17. dtmf=rfc2833
  18. context=from-psdn
  19. outboundproxy=s22.hkbntel.net
  20. quality=no
  21. allow=g729,ulaw

  22. [s2hkbntel.net]
  23. disallow=all
  24. type=peer
  25. nat=yes
  26. username=3494xxxxhk
  27. secret=password
  28. port=5060
  29. host=s2hkbntel.net
  30. fromuser=3494xxxxhk
  31. fromdomain=s2hkbntel.net
  32. canreinvite=no
  33. insecure=port,invite
  34. dtmfmode=rfc2833
  35. dtmf=rfc2833
  36. outboundproxy=s22.hkbntel.net
  37. quality=no
  38. allow=g729,ulaw
  39. context=from-trunk-sip-2b-trunk1

  40. register=3494xxxxhk:password@s2hkbntel.net:5060/3494xxxx
複製代碼

作者: bubblestar    時間: 2014-6-13 14:17

本帖最後由 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
複製代碼





歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2