Skip to main content

Posts

Showing posts with the label configure asterisk

Asterisk installation and configuration on Linux Ubuntu

Install Asterisk sudo apt-get install asterisk Enter your country code when prompted for. If you have to reconfigure it again removing asterisk without other dependencies will not get rid of config files and reinstall wil not create it so be careful and try uninstalling asterisk-config if required. Port forwarding will be required from gateway to receive calls from Registrars. sudo vi /etc/asterisk/users.conf [1000] type=friend host=dynamic context=home secret=password callerid=CIA FBI ATF <1-555-555-5555> dtmfmode=rfc2833 nat=yes mailbox=200@home disallow=all allow=ulaw sudo vi /etc/asterisk/ sip.conf add under [general] just below follwoing default line ;register => 3456@mydomain:5082::@mysipprovider.com register => sipid:sippassword@sipgate/sipid ;localnet=169.254.0.0/255.255.0.0 ; Zero conf local network localnet=192.168.0.0/255.255.255.0 ;        externhost=foo.dyndns.net  ...