A SIP extension is configured in the SIP channel driver configuration file, called sip.conf. (This file resides in the Asterisk configuration directory, which is typically /etc/asterisk.)
Open sip.conf with your favorite text editor, scroll to the bottom of the file, and add a section for your extension. You’ll need to choose your own unique password for each account, and change the permit line to match the settings for your local network.

For example, to configure an extension 1500, following lines needs to be added to sip.conf:
[1500] deny=0.0.0.0/0.0.0.0
type=friend
secret=****
qualify=yes
port=5060
pickupgroup=
permit=0.0.0.0/0.0.0.0
nat=yes
mailbox=1500@device
host=dynamic
dtmfmode=rfc2833
dial=SIP/1500
context=from-internal
canreinvite=no
callgroup=
callerid=device
accountcode=
call-limit=50

Make sure to restart Asterisk in order for these changes to take effect.

Check Out

How to limit the number of calls in asterisk

How to limit number of calls in Asterisk?Limit number of simultaneous calls on Asterisk based SIP Trunk. If you want to limit the number calls for your SIP peer or friend in Asterisk use call-limit in your trunk configuration. Create a trunk: trunkname type=peer...

read more

Asterisk time based routing

Asterisk time based routing. This is a very common requirement that route the calls to Voice-mail after office hours. Or you can transfer the calls to your cell phone after certain time say 6:00pm. In Asterisk you can also control the call location based on time and...

read more

Learn more about our Products

SIP TRUNKING

PHONE NUMBERS

Visit SIP Trunking Pricing to see which plan suits your business!

With so many options to pick from it can often be hard to decide what’s best.
Our plans have been packaged together to give you optimum output.

Our SIP Trunks are Compatible with wide range of PBX & Platforms.

Share This