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…
Tag: dialplan
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 =>…