Jumat, 29 April 2011

VoIP Server path 1 !

0 komentar
Assalamualaikum

Today i want to share how to make VoIP server using Ubuntu Server 9.10 !

Code:
#sudo apt-get install asterisk


in the path 1, i want to share how to make 3 extention :
203, 204, 20, and allow much codec is used. 

203 is [White Hacker Security Team]
204 is [White Developer Team]
205 is [Lamerz]

we want codec :
Code:
alaw, gsm, ulaw, and ilbc
so we will configure our server

and we need to add this code in 
/etc/asterisk/sip.conf

Code:
[general]
context=default
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes

; konfigurasi codec yang diperbolehkan
disallow=all
allow=alaw
allow=gsm
allow=ulaw
allow=ilbc

[203]
callerid=White Hacker Security Team
type=security
context=local
host=dynamic
secret=203
username=203
allow=all

[204]
callerid=White Developer Team
type=developer
context=local
host=dynamic
secret=204
username=204
allow=all

[205]
callerid=Lamerz
type=User Registered
context=local
host=dynamic
secret=205
username=205
allow=all
and than edit this code in
/etc/asterisk/extensions.conf

Code:
exten => 203,1,Dial(SIP/203)
exten => 204,1,Dial(SIP/204)
exten => 205,1,Dial(SIP/205)
and now restart the daemon of asterisk.
Code:
/etc/init.d/asterisk restart
debugging asterisk with
Code:
asterisk -rvvv
yups so server for basic in VoIP is ready!
see you in my tutorial again...
still in voip

here over configuration today :


Wassalamualaikum

Leave a Reply

Labels