Saturday, 11 January 2020

Creating SIP accounts on Asterisk

For communication of phones with each we need to configure account/users on asterisk.
In this guide I will show you how create SIP account on asterisk.


Open terminal


Goto directory
      $ cd /etc/asterisk




Open and edit file
$ gedit sip.conf



paste this

[6000]                        (Username)

Type  = friend
Secret = 6000            (it is password)
Context  = default    (for link with dialplan)
Host = dynamic            (can accept any IP from client)
Allow = all                  (allow all type of codec)

and save.


Now apply all changes
Enter following command in terminal


$Asterisk –vgrc
$sip reload or
$ core reload  (optional, it load everything)
$exit


SIP account created successfully 





No comments:

Post a Comment