返回列表 發帖
本帖最後由 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

Good to hear that

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

回復 106# bubblestar

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

TOP

回復 109# 雯雯


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

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

TOP

回復 110# bubblestar

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

TOP

回復 111# 雯雯


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

cmphone_outgoing_rule.png
2012-9-30 17:38

TOP

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

sip.png
2012-9-30 17:44

TOP

回復 112# bubblestar

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

TOP

回復 114# 雯雯


   

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

請查看 PM

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

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

回復 116# bubblestar

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

TOP

回復 117# 雯雯

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

TOP

回復 118# 角色

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

TOP

返回列表