本帖最後由 orangelau 於 2014-1-15 00:58 編輯
回復 6# 角色
我而家用緊ck兄既image,已經加左#5樓帖既內容,因為只需要打出pstn關係,所以有稍作修改。修改後,任何內線分線按9後可經obi110用pstn打電話出街,但結果係按9+12345678(電話號碼),只能進入obi110的aa,麻煩幫我睇下出左咩問題,謝謝!
user.conf
fullname=obi110
registersip=no
host=dynamic
callgroup=1
mailbox=1068
call-limit=100
type=friend
username=1068
transfer=yes
callcounter=yes
context=DLPN_DialPlan1
cid_number=1068
hasvoicemail=no
vmsecret=
email=
threewaycalling=no
hasdirectory=no
callwaiting=no
hasmanager=no
hasagent=no
hassip=yes
hasiax=yes
secret=12345678
nat=yes
canreinvite=no
dtmfmode=inband
insecure=no
pickupgroup=1
macaddress=1068
autoprov=yes
label=1068
linenumber=1
LINEKEYS=1
disallow=all
allow=ulaw,gsm,alaw,g729
transport=udp
extensions.conf
[general]
static=yes
writeprotect=no
autofallthrough=no
clearglobalvars=no
[default]
exten=1068,1,Answer()
exten=1068,n,Dial(SIP/1068,20,tr)
exten=1068,n,Hangup.
exten=_9xxxxxxxx.,1,Dial(SIP/${EXTEN:1}@1068,,r)
exten=_xxxxxxxx.,n,Hangup()
exten=fax,1,Dial(IAX2/ttyIAX0/${EXTEN})
exten=fax,2,Dial(IAX2/ttyIAX1/${EXTEN})
exten=fax,3,Busy
exten=fax,4,Hangup
exten=300,1,Playback(demo-echotest)
exten=300,2,Echo
exten=300,3,Playback(demo-echodone)
OBi 110 setting
|