Using & Configuring VOIP Server (Asterisk) on Ubuntu 14

Farihin Muhamad
0

#1---Set your IP to DHCP.

#2---Install Asterisk:
root@fm-vm:/home/fm# apt-get install asterisk

#3---Set your IP to MANUAL.

#4---Open sip.conf file:
root@fm-vm:/home/fm# nano /etc/asterisk/sip.conf

#5---Go to the end of the page (on the sip.conf) then write this script:
[general]
context=default
allowoverlap=no
bindaddr=0.0.0.0
srvlookup=yes
videosupport=yes

[101]
type=friend
username=101
callerid="Muhamad Farihin"
secret=lp3i_01
host=dynamic
context=farihin
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
qualify=yes
dtmfmode=auto
allow=h263p
allow=h264
allow=vp8
videosupport=yes

[102]
type=friend
username=102
callerid="Ganjar Ramdani"
secret=lp3i_01
host=dynamic
context=farihin
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
qualify=yes
dtmfmode=auto
allow=h263p
allow=h264
allow=vp8
videosupport=yes

#6---Open the extension.conf file:
root@fm-vm:/home/fm# nano /etc/asterisk/extensions.conf
#7---Go to the end of the page (on the extension.conf) then write this script:
[general]
static=yes
writeprotect=no
clearglobalvars=no

[farihin]
exten => 101,1,Dial(SIP/101)
exten => 102,1,Dial(SIP/102)

#8---Restart the asterisk service:
root@fm-vm:/home/fm# service asterisk restart

#9---Configure client side to have same ip class with ubuntu (your server).
#10--Install X-Lite on the Client side, then configure each client.

#11--This picture will show how to configure X-Lite on the first client & second client:

#12---After doing that configuration, X-Lite will authenticate your setting, if your setting is accepted then you will get this window (green checcked icon appear & status available).

#13---Now try dialling second user from first user, then try dialling first user from second user.

#14---Now try to call with video call, I’m doing this call from the Firs user also:


#15---On your second client, you will get this appearance:

16---That’s all, you’ve done setting up the VOIP Server on Ubuntu 14.

Post a Comment

0Comments

Post a Comment (0)