ComNet Phone + Asterisk + register string (registered 变成 No Authentication)
| 本帖最後由 角色 於 2013-2-13 13:19 編輯 
 ComNet Phone + Asterisk是怎样实现?
 
 incoming and outgoing trunk registration
 1. sip.conf
 ;dialplan複製代碼;incoming call
register => 85233226688:222333@202.0.179.3/85233226688
;outgoing call
[cmphone-trunk]
type=friend
host=202.0.179.3
username = 85233226688
fromuser=85233226688
realm=85233226688
realm=huawei
secret = 222333
insecure = port,invite
dtmfmode = auto
canreinvite = no
transport=udp
nat=yes
qualify = no
disallow = all
allow = ulaw
allow = alaw
context = from-cmphone
2. extension.conf
 Problem:複製代碼exten => _X.,1,Dial(SIP/${EXTEN}@cmphone-trunk,,r)
[from-cmphone]
exten => 85233226688,1,Dial(SIP/2322)
exten => 85233556688,n,Hangup()
在Asterisk CLI:sip show registry
 
 ComNet Phone不知道为什么status,从registered变成No Authentication!那么ComNet打出没有问题,而打入就出问题。
 
 怎样解决,就是要在CLI里,执行sip reload,就可以把No Authentication变成registered。
 
 Reference:
 关于QNAP cron job information Link
 |