電訊茶室's Archiver

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沒有改動過呢{:5_216:}

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

[i=s] 本帖最後由 candenn 於 2014-6-13 00:24 編輯 [/i]

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



[hkbn2b]
disallow=all
type=friend
nat=yes
username=3494xxxxhk
authuser=3494xxxxhk
secret=password
port=5060
host=s2hkbntel.net
fromuser=3494xxxxhk
fromdomain=s2hkbntel.net
canreinvite=no
insecure=port,invite
dtmfmode=rfc2833
dtmf=rfc2833
context=from-psdn
outboundproxy=s22.hkbntel.net
quality=no
allow=g729,ulaw

[s2hkbntel.net]
disallow=all
type=peer
nat=yes
username=3494xxxxhk
secret=password
port=5060
host=s2hkbntel.net
fromuser=3494xxxxhk
fromdomain=s2hkbntel.net
canreinvite=no
insecure=port,invite
dtmfmode=rfc2833
dtmf=rfc2833
outboundproxy=s22.hkbntel.net
quality=no
allow=g729,ulaw
context=from-trunk-sip-2b-trunk1

register=3494xxxxhk:password@s2hkbntel.net:5060/3494xxxx[/code]

bubblestar 發表於 2014-6-13 14:17

[i=s] 本帖最後由 bubblestar 於 2014-6-13 14:18 編輯 [/i]

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

203.80.89.135         s2hkbntel.net s21.hkbntel.net
#203.80.89.139        s2hkbntel.net s22.hkbntel.net
#203.80.89.146        s2hkbntel.net s23.hkbntel.net
#203.80.89.150        s2hkbntel.net s24.hkbntel.net

sip.conf

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

[2bapp]
type = peer
defaultuser = 36xxxxxxhk
fromuser = 36xxxxxxhk
secret = mypasswd
host = s2hkbntel.net
fromdomain = s2hkbntel.net
canreinvite = no
insecure = port,invite
qualify = yes
;nat=force_rport,comedia
port = 5060
context = from-2bapp
dtmfmode = auto
disallow = all
allow = ulaw
allow = alaw
[/code]

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.