Asterisk On OpenWrt (first Time User)
Hello list,
I’m hoping that you could read through this mail and give me some tips on how to improve my setup (functionality, security, really anything). It’s my first Asterisk installation and meant for simple home use.
I installed Asterisk 11 on an OpenWrt Barrier Breaker router. Currently it’s configured for Ekiga so I can test. In a few weeks I’ll change to a Telco SIP provider for a PSTN connect.
My Ekiga test calls are successful. So it does seem to work 🙂
The router is configured like this:
– has a user ‘asteriskpbx’ so Asterisk doesn’t run as root
– has a USB stick for logs and CDRs
– has a LAN port which I removed from the regular LAN VLAN and put into
its own VLAN; only the hardware SIP phone is connected; there’s no
forwarding to and from this network
– firewall allows SIP and RTP packets from the outside, but only from
Ekiga.net
The main config file:
[directories]
astdbdir => /mnt/usb/asterisk/dbdir astlogdir => /mnt/usb/asterisk/logdir
[options]
systemname = my.dynamic.domain.com runuser = asteriskpbx
rungroup = asteriskpbx
defaultlanguage = de
documentation_language = en_US
live_dangerously = no
[compat]
pbx_realtime=1.6
res_agi=1.6
app_set=1.6
Here’s the SIP setup:
[general]
context=unauthenticated allowguest=no srvlookup=no udpbindaddr=0.0.0.0
tcpenable=no localnet2.16.28.0/24
alwaysauthreject=yes language