Halo,
Apa anda member VoIP Rakyat ? Kalau belum, daftarkan diri anda di VoIP Rakyat, caranya mudah, browse http://www.voiprakyat.or.id dan klik menu “Register Free VoIP Number”. Setelah registrasi anda akan memperoleh nomor VoIP dari VoIP Rakyat (5 digit angka berawalan angka 2) sebagai account ID anda beserta passwordnya (kata random berawalan “abc”).
Nah.. login dengan softphone atau ipphone anda, dan call nomor rekan anda yang lain di VoIP Rakyat yang sedang online. Ketika tersambung, anda akan mendengar sebuah lagu dinyanyikan, bukannya ringing seperti biasanya!
Menarik 🙂
Rupanya ada trik nya atau.. lebih tepatnya caranya (red: trik itu sesuatu yang baru yang ga ada dibuku manual :p, sedangkan hal ini ada di buku manual Asterisk).
Perhatikan macro stdexten dan bagian pemanggilnya (local calls) dalam extensions.conf VoIP Rakyat:
[macro-stdexten]
;
; Standard extension macro:
; ${ARG1} – Extension (we could have used ${MACRO_EXTEN} here as well
;
exten => s,1,GotoIf($[“${ARG1}” = “${CALLERID(num)}”]?2:4)
exten => s,2,VoicemailMain,s${CALLERID(num)}
exten => s,3,Goto(quit)
exten => s,4,Dial(SIP/${ARG1}|30|Wwm)
exten => s,5,Goto(s-${DIALSTATUS},1)
exten => s-CHANUNAVAIL,1,Dial(IAX2/${ARG1}|30|Wwm)
exten => s-CHANUNAVAIL,2,Goto(SaveMessage,1)
exten => SaveMessage,1,Voicemail(u${ARG1})
exten => SaveMessage,2,Goto(quit)
exten => s-BUSY,1,Voicemail(b${ARG1})
exten => s-BUSY,2,Goto(quit)
exten => _s-.,1,Goto(SaveMessage,1)
exten => quit,Hangup
; local call
exten => _2X.,1,Ringing
exten => _2X.,2,Wait,2
exten => _2X.,3,Macro(stdexten,${EXTEN})
exten => _2X.,4,Hangup
Dalam macro stdexten, perhatikan bagian yang ditulis tebal (bold) dan option Wwm.
Trik nya adalah pada command Dial tambahkan option m
Berikut adalah option lain yang bisa anda tambahkan pada command Dial asterisk.
- A(x) – With this opition you can set an audio file which
the called person to hear. In the brackets you put the name of the file.
- C – This option allows you to reset the Call Detail Records(CDR). Be very
careful with this option. CDR`s are very important because they are used for
billing information.
- D([digits]) – this option allows you to send a DTMF tones which the called
person will receive after he/she answers.
- f – forces callerid to be set as the extension of the line making/redirecting
the outgoing call.
- g – when the called party hangs up, exit to execute more commands in
the current context.
- h – this option allows the called person to hang up the line by pressing “*”
- H – this option allows the caller to hang up the line by pressing “*”
- j – this option prevetns jumping to an extension n+101
- L(x[:y][:z]) –
- m – when you make a call you will hear a music on hold instead of the ringing
signal. You can use m(x) – where x is a specified class for the music on hold
- M(x) – Executes the macro (x) upon connect of the call
- P[(x)] -This option allows you to use the
PrivacyManager. You can use as agrument a name of a database.
However, the argument is optional.
- r –
- S(x) – With this option you can specify a period of time after which the line
will be hung up. The timer starts after the called person answered the call
- t – this option allows the called person to transfer the call
- T – this option allows the caller to transfer the call
- w – with this option the called user can start recording the conversation after pressing *1. This combination of symbols can be changed in features.conf. This is valid for Asterisk PBX version 1.0.X or later. W – with this option the caller can start recording the conversation after pressing *1. This combination of symbols can be changed in features.conf.
This is valid for Asterisk PBX version 1.0.X or later.
Asterisk mempunyai banyak sekali trik-trik lain yang menarik untuk “menghias” IP PBX anda. Anda dapat mempelajarinya lebih lanjut dari situs-situs berikut: