返回列表 發帖

奇怪,貌似很簡單的註冊,ComNet就是不能成功註冊Elastixs上 【已搞掂】

本帖最後由 浮雲1965 於 2013-5-13 18:51 編輯

可以很隨便就在手機sip client上註冊,但在Elastix上爲什麽就這麼難呢?

我的Elastix的ComNet trunk setting 如下:

username=85235xxxxxx
type=friend
secret=111111
realm=huawei
qualify=no
port=5060
insecure=port,invite
host=202.0.179.3
fromuser=85235xxxxxx
dtmfmode=inband
disallow=all
context=from-trunk
canreinvite=no
allow=ulaw&alaw
fromdomain=202.0.179.3

regrister string: 85235xxxxxx:111111@202.0.179.3/85235xxxxxx
我的Elastix 是public IP, 沒有NAT.

qualify=yes  试试  我以前用HKBN2B时写成qualify=no就炷册不上,改成qualify=yes就可以了,你试下可不可以

TOP

我的設定

Trunk Name:8523501XXXX

PEER Details:
type=friend
host=202.0.179.3
username=8523501XXXX
fromuser=8523501XXXX
realm=8523501XXXX&huawei
secret=XXXXXXXXX
insecure=port,invite
dtmfmode=auto
canreinvite=no
transport=udp
nat=yes
qualify=no
disallow=all
allow=ulaw&alaw

Register String:
8523501XXXX:XXXXXXXXX@202.0.179.3/8523501XXXX

TOP

還是搞唔掂 ComNet on elastix.
試過 quality=yes

TOP

有否試加(安裝)ADD-ON "VoIP Provider"?

TOP

爲什麽要加這個module? 我在elastix上註冊了很多trunk. 包括 et263 iptel GV HKBN2b 接spa3000的pstn trunk 還有jumblo 和 sip3g
就是這個ComNet搞唔掂

TOP

剛申請的免費ac. 可以註冊到linksys ata. 也可註冊的手機sip client

TOP

你新開通, 會否只給你資料, 未正式開通服務.
有否NMP帶number.?

TOP

剛申請的免費ac. 可以註冊到linksys ata. 也可註冊的手機sip client
浮雲1965 發表於 2013-5-11 12:06


即是, Elastix問題.

TOP

早前你說過 "我已成功將ComNet註冊到Elastix上(一時得一時唔得)。 "
早前間中得, 現在完全唔得?

TOP

本帖最後由 浮雲1965 於 2013-5-12 14:16 編輯

回復 3# 電腦超人

請問電腦超人兄,你是在Elastix成功註冊ComNet嗎?我剛才又照你的設置,重試了一次,還是不行。
我有照角色兄指引,加入pandentic=yes, 但我沒有手動修改conf檔,我是在freepbx的Asterisk Sip Setting內,最下面的Other Sip Settings, 手動加入了 pendentic = yes. 不知道這樣有沒有效。

我也搞不清楚,之前角色兄借過一個ComNet號給我測試時,我印象中好像有成功註冊的,但搞來搞去,現在都不行。

會不會試用的號同角色兄的正式號是不同的?正式號可以註冊,試用號就不可以呢?我的試用號可以在手機sip client及Linksys ATA上註冊的。

TOP

這是debug log
[2013-05-12 13:50:44] NOTICE[3509] chan_sip.c: Peer '1179' is now Reachable. (1028ms / 2000ms)
[2013-05-12 13:50:45] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:51:04] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #4)
[2013-05-12 13:51:05] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:51:24] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #8)
[2013-05-12 13:51:25] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:51:35] VERBOSE[3509] chan_sip.c: -- Registered SIP '1157' at 124.217.186.140 port 47902
[2013-05-12 13:51:44] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #12)
[2013-05-12 13:51:45] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:52:04] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #16)
[2013-05-12 13:52:05] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:52:24] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #20)
[2013-05-12 13:52:25] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:52:27] VERBOSE[3509] chan_sip.c: -- Registered SIP '1157' at 124.217.186.140 port 48009
[2013-05-12 13:52:44] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #24)
[2013-05-12 13:52:45] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:53:04] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #28)
[2013-05-12 13:53:05] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:53:19] VERBOSE[3509] chan_sip.c: -- Registered SIP '1157' at 124.217.186.140 port 48201
[2013-05-12 13:53:24] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #32)
[2013-05-12 13:53:25] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)
[2013-05-12 13:53:44] NOTICE[3509] chan_sip.c: -- Registration for '85235012795@202.0.179.3' timed out, trying again (Attempt #36)
[2013-05-12 13:53:45] NOTICE[3509] chan_sip.c: Failed to authenticate on REGISTER to '85235012795@202.0.179.3' (Tries 3)

TOP

如果用Asterisk and Asterisk-GUI,那么我是可以注册ComNet Phone,而你用Elastix我就不知道了。

TOP

本帖最後由 浮雲1965 於 2013-5-12 16:32 編輯

可以註冊了,是我打錯字問題
pedantic=yes

但打不出。在freepbx內看到是註冊成功的。
也不能打入,有普通話回覆說輸入的是空號,真奇怪

TOP

可以註冊了,是我打錯字問題
pedantic=yes

但打不出。在freepbx內看到是註冊成功的。
也不能打入,有普通 ...
浮雲1965 發表於 2013-5-12 16:19

如果現在你在手機裡直接register的話可以撥出撥入嗎?
(順帶一提...可以reg的話試試以正常的途徑exit sip app當作unreg帳號)

TOP

返回列表