我在Elastix 2.2 set up 完 hkbn2b 只可以打出不能打入pbx set 的分機
setting :
[hkbn2b]
type=peer
nat=yes
username=3615XXXXhk
secret=***********
port=5060
host=s2hkbntel.net
fromuser=3615xxxxhk
fromdomain=s2hkbntel.net
canreinvite=no
insecure=very
disallow=all
;allow=ulaw
allow=alaw
dtmfmode=auto
context=from-hkbn
;HKBN 2b outbound calls
exten => _9XX.,1,Dial(SIP/${EXTEN:1}@hkbn2b,,r)
exten => _9XX.,n,Hangup()
;HKBN 2b inbound calls
[from-hkbn]
exten => 3615xxxx,1,Dial(SIP/6001,,r)
exten => 3615xxxx,n,Hangup()
Register
3615XXXXhk:XXXXXX@s2hkbntel.net:5060/3615XXXX
thz |