Below i am going to document some simple and very useful commands for asterisk. These commands will help you gather important information that can help you diagnose an asterisk based system. First enter the asterisk console: asterisk -vvvvvvvvvr Global Commands Show the entre asterisk dial plan dialplan show SIP Commands Viewing all sip peer status…
Month: March 2013
Simple Asterisk Phone System…
Below I detail how to set up a basic asterisk dial plan with 2 extensions, a SIP Trunk provider, and incoming calls ringing both extensions. in /etc/asterisk/sip.conf add: [100] ; extension 100 username=100 secret=100 host=dynamic nat=yes type=friend qualify=yes context=phones [101] ; extension 101 username=101 secret=101 host=dynamic nat=yes type=friend qualify=yes context=phones [SIP-PROVIDER] ; Trunk to/from SIP Provider type=friend…
Simple PHP and Asterisk dialplan…
In This post I am just going to publish how to make a simple dial plan in asterisk by sending the call to PHP to process. The application is just going to be the standard asterisk Milliwatt application which answers a call and plays a continues tone. In asterisk (On an Ubuntu Server System), /etc/asterisk/extensions.con add [Milliwait] exten =>…