返回列表 發帖

CM phone 成日斷線,求救

請問各位高手,

小第office set喺深圳,用中國電訊2M ADSL獨立比papt2打香港電話.剛開始時用zone15xx的VOIP,但因為電話號碼是5xxx xxxx.
很多客人不接我公司打出的電話,上2個月見到有CM PHONE服務,便申請一個免費的試1個月.跟各位高手的帖SET 落PAPT2到.
用了2星期,話音質素和稳定性都OK,便把公司用了10多年的號碼轉到CM phone, 還簽了1年約.
近這星期CM的斷線很利害.註冊成功后5-10分鐘就有問題.攞起電話有DIAL tone但就打吾出及人地打吾入我的號碼,一係就自己offline,
然后reboot ATA再等5分鐘后register.每天做同樣的事幾十次以上,打去comnet tech dept 問又佢地server 及機房無問題.
我便開始想是不是比中國電訊block咗我啲port.定係個ATA set錯(現在還未搞掂),今天用了2B的號碼set 入ATA用應急.
set好后line 1 - 2B的電話完全正常,online 4個鐘都無斷線,打入和打出都正常.但 line 2 的 CM 電話依然成日offline....can't registry to proxy....connect OK....offline....
所以我想不是電訊block我VOIP,現請問各位高手有無辦法解決..吾該

回復 118# 角色

試了打出不行, 未試打入.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 117# 雯雯

是打出不行,还是打入不行呢?

TOP

本帖最後由 雯雯 於 2012-9-30 22:28 編輯

回復 116# bubblestar

我部IP04是放在香港, 試了都唔得!
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

本帖最後由 bubblestar 於 2012-9-30 18:33 編輯

回復 114# 雯雯


   
請確定你在user.conf 裡的cmphone 設定中,qualify 一項要設定成 No (My post in #106 above).  因為qualify default = yes = 2 秒的話,可能在偏遠的地方或NAT 因不同的回應速度太慢下回應binding request,Asterisk 便會無法打出電話的。解決辦法一係加大qualify 參數,例如3000-5000 (3-5秒),一係就qualify = No,索性不做binding request,我選擇後者,一直沒有問題。當然這是要因Provider 而定的。cmphone 便要這樣做了。
你在大陸這麼遠,更可能需要做此設定。

詳細解說:  http://www.voip-info.org/wiki/view/Asterisk+sip+qualify

This feature may also be used to keep a UDP session open to a device that is located behind a network address translator (NAT). By sending the OPTIONS request, the UDP port binding in the NAT (on the outside address of the NAT/firewall device) is maintained by sending traffic through it. If the binding were to expire, there would be no way for Asterisk to initiate a call to the SIP device. This can be used in conjunction with the nat=yes setting.

TOP

回復 114# 雯雯


   

我給你看看我全部 sip.conf 的整體設定,以方便你做對比,可能當中你我之間的分別,就是導致你打不出的原因。 你在你的 File Editor 之下便會找到 sip.conf 內容。

請查看 PM

TOP

回復 112# bubblestar

我是用原廠介面, 我的Outgoing Call Rules setting跟你的一樣.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

sip 基本設定介面是這樣的:

sip.png
2012-9-30 17:44

TOP

回復 111# 雯雯


   
你是否也在用Switchfin 介面的 IP04 ?  不過就算是原廠介面也大致相同的。

cmphone_outgoing_rule.png
2012-9-30 17:38

TOP

回復 110# bubblestar

都set了, 我是用現有可以用的去改的, 能否提供你的Outgoing Call Rules給我參考?
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 109# 雯雯


   
Outgoing Call Rules 及 Dial Plan 兩個版面是否已經做了設定。很多時候我們也遺漏了加上剔號去enable 使用的。

另外,GUI 入面的 Sip Settings 有一項目 pedantic 要加上剔號的,而default 是清空了的啊。

TOP

回復 106# bubblestar

我在我部IP04試了, 註冊到但是打不出.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

So, if one has problem in registering CM Phone in Zoiper.  Please try to add outbound proxy address in it.  By default, this item is blank.

TOP

Good to hear that

TOP

本帖最後由 bubblestar 於 2012-9-30 15:44 編輯

回復 105# ckleea

回復 104# 角色


Problem Solved.

CM Phone can now be registered in Asterisk GUI.  I have registered CM Phone number succesfully in my IP01.  The major difference of the registration between ATOM PC Server (APL) and IP01 GUI is that of missing outboundproxy, which is a MUST in GUI interface.  At least, it is needed in my IP01.

Now, dialling out is of no problem.  For dialling-in, guys please try by yourself and report here, would you.  Thanks.

IP01

users.conf
context=DID_85235011234
host=202.0.179.3
username=85235011234
authuser=85235011234
fromuser=85235011234
fromdomain=huawei.com
auth=md5
secret=123456
insecure=port,invite
port=5060
trunkname=cmphone
hasiax=no
registeriax=no
hassip=yes
registersip=yes
trunkstyle=voip
hasexten=no
type=peer
canreinvite=no
nat=yes
realm=huawei
outboundproxy=202.0.179.3  
contact=85235011234
qualify=no
disallow=all
allow=ulaw,alaw,gsm,g729

   
ATOM PC

sip.conf

[cmphone]
type = peer
host = 202.0.179.3
port = 5060
fromdomain = huawei.com
fromuser = 85235011234
realm = huawei
secret = 123456
defaultuser = 85235011234
insecure = port,invite
context = from-cmphone
authname = 85235011234
dtmfmode = auto
canreinvite = no
qualify = no

TOP

返回列表