GIT – is a complete telecommunications platform.

Run these commands on your server

apt-get update
apt-get upgrade
apt-get cvs build-essential automake autoconf bison flex libtool libncurses5-dev libssl-dev libgsm1 libgsm1-dev
apt-get install asterisk

start the asterisk service
/etc/init.d/asterisk start

Asterisk is installed on your server, create  users so that we can register ourselves on the asterisk server with a soft phone and then start to make calls over the network.

Edit the file /etc/asterisk/sip.conf
Chose your favorite editor my favorite editor is VIM

Copy the following into your sip.conf file

vim /etc/asterisk/sip.conf

[common](!) ; this is template.
type=friend
context=internal
host=dynamic
disallow=all
allow=ulaw
allow=alaw
allow=g723
allow=g729
dtmfmode=rfc2833

Let’s create the users accounts using this file

[qasimali](common)
username=qasimali
secret=qasimali
context=group

Let’s create the user extensions
Edit the file /etc/asterisk/extensions.conf
Copy the following into your extensions.conf file
vim /etc/asterisk/extensions.conf

[group]
exten => 1515,1,Dial(SIP/qasimali)

Restart the Asterisk service

/etc/init.d/asterisk restart

 

Print Friendly

Comments

comments

Bài viết liên quan