asterisk18 <--- 主 package
libopenssl
libncurses
libpopt
libpthread
zlib
asterisk18-codec-alaw (Translation between signed linear and alaw codecs in Asterisk) <-- 非必要
GUI:
luci-app-pbx
restart gracefully
設定檔:
/etc/init.d/asterisk
/etc/default/asterisk
ENABLE_ASTERISK="yes" OPTIONS=""
/etc/asterisk/asterisk.conf
/etc/asterisk/features.conf
/etc/asterisk/modules.conf
/etc/asterisk/extensions.conf
/etc/asterisk/manager.conf
/etc/asterisk/logger.conf
/etc/asterisk/rtp.conf
/etc/asterisk/indications.conf
/etc/asterisk/sip_notify.conf
/etc/asterisk/sip.conf
sip.conf
[general] context=default-incoming-call-context allowoverlap=yes allowtransfer=yes realm=asterisk bindaddr=0.0.0.0 srvlookup=yes maxexpiry=600 minexpiry=60 defaultexpiry=300 qualifyfreq=55 disallow=all allow=ulaw allow=alaw dtmfmode = inband alwaysauthreject = yes t1min=100 timert1=500 timerb=16000 rtptimeout=600 rtpkeepalive=30 useragent=PBX localnet=192.168.0.0/16 localnet=10.0.0.0/8 localnet=172.16.0.0/12 nat=yes directmedia=no sipdebug=no
[authentication] #include sip_peers.conf #include sip_users.conf
sip_users.conf ( include by sip.conf)
[202] fullname = Tim defaultuser = 202 secret = ?????? hassip = yes hasvoicemail = no host = dynamic type = friend context = context-user-202 qualify = no