Home > Old Post dari Unilanet > Voip Universitas Lampung

Voip Universitas Lampung


Original Link : http://unilanet.unila.ac.id/~gigih/index.php?option=com_content&task=view&id=20&Itemid=36

Pengalaman Ngoprek Server VoIP.

Dalam membangun Proxy VoIP ini kami menggunakan TRIXBOX server 2.2
Spesifikasi server yang kami pergunakan ketika awal eksperimen adalah Server Rakitan

Dual Xeon Dual CORE 3GHz RAM 2 GHz, Hdd SATA 250 GgByte

Langkah kami lakukan untuk pembutan server ini adalah sebagai berikut :

1. Download :

· ISO Trixbox di http://www.trixbox.org

2. Instalasi :

· Setelah menjadi bentuk CD Installer, installkan trixbox-asterisk tersebut.
· Update/Upgrade (command : help-trixbox).

3. Setting :

Konfigurasi nya sangat sederhana, setelah anda install cukup aktifkan Module CORE Admin

kemudian modip file exstension.conf

o extension.conf

;
[general]
;
static=yes
;
writeprotect=no
autofallthrough=yes
;
[globals]

; —————————————————————————

[demo]

exten => s,1,Wait,1
exten => s,2,Answer
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,10
exten => s,5,BackGround(demo-congrats)
exten => s,6,BackGround(demo-instruct)

exten => 2,1,BackGround(demo-moreinfo)
exten => 2,2,Goto(s,6)

exten => 3,1,SetLanguage(fr)
exten => 3,2,Goto(s,5)

exten => 500,1,Playback(demo-abouttotry)
exten => 500,2,Dial(IAX2/ <!– var prefix = ‘ma’ + ‘il’ + ‘to’; var path = ‘hr’ + ‘ef’ + ‘=’; var addy59759 = ‘guest’ + ‘@’ + ‘misery’ + ‘.’ + ‘digium’ + ‘.’ + ‘com’; document.write( ‘‘ ); document.write( addy59759 ); document.write( ” ); //–> // <![CDATA[

var prefix = ‘ma’ + ‘il’ + ‘to’;
var path = ‘hr’ + ‘ef’ + ‘=’;
var addy70162 = ‘guest’ + ‘@’;
addy70162 = addy70162 + ‘misery’ + ‘.’ + ‘digium’ + ‘.’ + ‘com’;
var addy_text70162 = ‘guest’ + ‘@’ + ‘misery’ + ‘.’ + ‘digium’ + ‘.’ + ‘com’;
document.write( ‘
‘ );
document.write( addy_text70162 );
document.write( ” );
// ]]>
guest@misery.digium.com
This email address is being protected from spam bots, you need Javascript enabled to view it
This email address is being protected from spam bots, you need Javascript enabled to view it /s@default)
exten => 500,3,Playback(demo-nogo)
exten => 500,4,Goto(s,6)

exten => 600,1,Playback(demo-echotest)
exten => 600,2,Echo
exten => 600,3,Playback(demo-echodone)
exten => 600,4,Goto(s,6)

exten => 1234,1,Playback(transfer,skip)
exten => 1234,2,Macro(stdexten,1234,${CONSOLE})

exten => 8500,1,VoicemailMain
exten => 8500,2,Hangup

exten => #,1,Playback(demo-thanks)
exten => #,2,Hangup

exten => t,1,Goto(#,1)
exten => i,1,Playback(invalid)

[macro-stdexten];

exten => s,1,Dial(${ARG2},20)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${ARG1})
exten => s-NOANSWER,2,Goto(default,s,1)
exten => s-BUSY,1,Voicemail(b${ARG1})
exten => s-BUSY,2,Goto(default,s,1)
exten => _s-.,1,Goto(s-NOANSWER,1)
exten => a,1,VoicemailMain(${ARG1})

[default]

include => macro-stdexten
include => demo

; demo call handler
exten => 900,1,Goto(demo,s,1)

; current server time
exten => 901,1,Ringing
exten => 901,2,Wait,2
exten => 901,3,SayUnixTime(ABdYIMp)
exten => 901,4,Hangup

; noise tests
exten => 902,1,Ringing
exten => 902,2,Wait,2
exten => 902,3,Playback(tt-monkeysintro)
exten => 902,4,Playback(tt-somethingwrong)
exten => 902,5,Playback(tt-monkeys)
exten => 902,6,Playback(privacy-thankyou)
exten => 902,7,Hangup

; echo tests
exten => 903,1,Ringing
exten => 903,2,Wait,2
exten => 903,3,Playback(demo-echotest)
exten => 903,4,Echo
exten => 903,5,Playback(demo-echodone)
exten => 903,6,Hangup

; voicemail access
exten => 904,1,Ringing
exten => 904,2,Wait,2
exten => 904,3,VoicemailMain,s${CALLERIDNUM}
exten => 904,4,Hangup

; ENUM USA
exten => _00[1-9]N.,1,Ringing
exten => _00[1-9]N.,2,Wait,2
exten => _00[1-9]N.,3,EnumLookup(+${EXTEN:2})
exten => _00[1-9]N.,4,Dial(${ENUM})
exten => _00[1-9]N.,5,Hangup

; local call
exten => _5XXXX,1,Ringing
exten => _5XXXX,2,Wait,2
exten => _5XXXX,3,Macro(stdexten,${EXTEN},SIP/${EXTEN}&IAX2/${EXTEN})
exten => _5XXXX,4,Hangup

; VoIP Rakyat
exten => _0211X.,1,Ringing
exten => _0211X.,2,Wait,2
exten => _0211X.,3,Dial(IAX2/user: <!– var prefix = ‘ma’ + ‘il’ + ‘to’; var path = ‘hr’ + ‘ef’ + ‘=’; var addy6009 = ‘password’ + ‘@’ + ‘voiprakyat’ + ‘.’ + ‘or’ + ‘.’ + ‘id’; document.write( ‘‘ ); document.write( addy6009 ); document.write( ” ); //–> // <![CDATA[

var prefix = ‘ma’ + ‘il’ + ‘to’;
var path = ‘hr’ + ‘ef’ + ‘=’;
var addy86213 = ‘password’ + ‘@’;
addy86213 = addy86213 + ‘voiprakyat’ + ‘.’ + ‘or’ + ‘.’ + ‘id’;
var addy_text86213 = ‘password’ + ‘@’ + ‘voiprakyat’ + ‘.’ + ‘or’ + ‘.’ + ‘id’;
document.write( ‘
‘ );
document.write( addy_text86213 );
document.write( ” );
// ]]>
password@voiprakyat.or.id
This email address is being protected from spam bots, you need Javascript enabled to view it
This email address is being protected from spam bots, you need Javascript enabled to view it /${EXTEN:4},20)
exten => _0211X.,4,Hangup

o iax.conf

[general]

auth=md5

bindport=4569
bindaddr=0.0.0.0

qualify=yes

delayreject=yes

bandwidth=low

disallow=all
allow=ilbc
allow=gsm
allow=g729
allow=g723
;allow=ulaw
allow=alaw
allow=h263p
allow=h263

jitterbuffer=no

tos=lowdelay

mailboxdetail=yes

[iaxfwd]
type=user
context=incomming-numbers
auth=rsa
inkeys=freeworlddialup

#include iax_additional.conf

o sip.conf

[general]

context=default
recordhistory=yes

realm=voip.unila.ac.id

port=5060
bindaddr=0.0.0.0
srvlookup=yes
pedantic=yes

videosupport=yes   —>>>>>  Penting UNTUK agar SoftPhone Client Support VIDEO call

disallow=all
allow=ilbc
allow=gsm
allow=g729
allow=g723
;allow=ulaw
allow=alaw
allow=h263p
allow=h263

musicclass=default
language=en

rtptimeout=60
rtpholdtimeout=300
useragent=voip.unila.ac.id
nat=yes
qualify=yes

#include sip_additional.conf

Mudah Bukan, kita dah punya server VOIP server sendiri,  Huhuy……..

4. Done.  Sekian Dulu laporan dari saya

Laen Waktu kita bikin video Blok Instalasi voip server UNILA Oche….

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: