返回列表 發帖
回復 11# ckleea


   
咁樣你就可以同時多幾條不同Providers 的TRUNK,測試Super Failover Trunk 的可靠度及準繩度了。

另外,是否要也要簽一年約的?

TOP

試一試 canreinvite = no

TOP

Sometimes, registration and dial may need this, case by case.

register => 85235015001:secretpwd@202.0.179.3/85235015001

type=friend
insecure=port,invite
qualify=yes

TOP

At last, which sip configuration settinig you use to make it work.  Could you share with us?

TOP

Yes, I recall that Asterisk The Future of Telephony also mentions that some servers might not accept Asterisk as user Agent name for unknown reasons.  You may change whatever name you like other than Asterisk and try again.  No harm.

TOP

本帖最後由 bubblestar 於 2012-7-21 13:11 編輯

回復 57# lawleo


Try this:


sip.conf

[general]
…..
pedantic  = yes
…..

register = 852350xxxxx:password@202.0.179.3/852350xxxxx

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


extensions.conf

[viaCMPhone]
exten => _888X.,1,Dial(SIP/cmphone/${EXTEN:3})
exten => _888X.,n,Hangup()

[from-cmphone]
exten => 852350xxxxx(你的 CMphone號碼),1,Dial(SIP/6001,30,Ttr)
exten => 852350xxxxx(你的CMphone號碼),n,Hangup()

TOP

返回列表