You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Asterisk setup in Linux machine

1) Install and setup asterisk server in Ubuntu. Run the asterisk server using below command.

    Ex: asterisk -rvvv

2) Install sip clients in two different machines which are in the same network in which asterisk server is running.

3) Configure the sip and extensions files. Reload the updated configuration of both sip and extensions using below commands.

   Ex: sip reload

        dialplan reload

4) Make sure the ports are being allowed in the asterisk server to listen to the traffic from the clients. Allow ports using below commands,

   Ex: sudo ufw allow 5060/udp

         sudo ufw allow 10000:20000/udp

5) Register the sip clients with the asterisk server ip, username and password as configured in the sip.conf file.

6) After successful registration in both the clients, initiate a call and verify the logs in the asterisk CLI.


  • No labels