回復 10# ckleea
呢個係sip.conf [general]內容:
context=default
srvlookup=yes
keepalive=yes
externrefresh=10
autodomain=no
allowexternalinvites=no
allowexternaldomains=no
allowguest=no
alwaysauthreject=yes
port=5060
bindaddr=10.0.1.10
insecure=port,invite
dtmfmode=rfc2833
rfc2833compensate=yes
faxdetect=yes
registerattempts=10
relaxdtmf=no
notifyringing=yes
notifyhold=yes
notifycid=yes
pedantic=yes
promiscredir=no
subscribecontext=default
allowoverlap=yes
allowsubscribe=yes
allowtransfer=yes
bindport=5060
callevents=no
checkmwi=10
compactheaders=no
defaultexpiry=120
dumphistory=yes
g726nonstandard=no
jbenable=no
jbforce=no
jblog=no
maxcallbitrate=384
maxexpiry=3600
minexpiry=60
mohinterpret=default
progressinband=never
realm=asterisk
recordhistory=yes
registertimeout=20
sendrpid=no
sipdebug=yes
t1min=100
t38pt_udptl=no
tos_audio=none
tos_sip=none
tos_video=none
trustrpid=no
useragent=Asterisk PBX
usereqphone=no
videosupport=no
canreinvite=nonat
externhost=example.noip.me
nat=yes
localnet=192.168.1.1/255.255.255.0
disallow=all
allow=ulaw,alaw,gsm,slin,g729,g726 |