Difference between revisions of "Konfigurasi Minimal Asterisk 1.6 di Ubuntu"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 27: | Line 27: | ||
exten => _20XX,2,HangUp | exten => _20XX,2,HangUp | ||
− | Contoh konfigurasi | + | Contoh konfigurasi agar semua call ke selular Indonesia 08xxxxxxx menggunakan PSTN gateway di extension 2031 |
exten => _08.,1,Dial(SIP/${EXTEN}@2031,60,rt) | exten => _08.,1,Dial(SIP/${EXTEN}@2031,60,rt) |
Revision as of 17:15, 13 March 2008
Tidak banyak yang harus di konfigurasi di Asterisk 1.6 di Ubuntu. Minimal kita perlu mengkonfigurasi
- /etc/asterisk/sip.conf
- /etc/asterisk/extensions.conf
Konfigurasi sip.conf
Masukan untuk setiap nomor telepon, kira-kira entry seperti ini,
[2000] context=default type=friend username=2000 secret=123456 host=dynamic dtmfmode=rfc2833 rfc2833compensate=yes
Konfigurasi extensions.conf
Contoh konfigurasi minimal sekali supaya semua extension 2xxx dapat saling berhubungan
exten => _20XX,1,Dial(SIP/${EXTEN},30,rt) exten => _20XX,2,HangUp
Contoh konfigurasi agar semua call ke selular Indonesia 08xxxxxxx menggunakan PSTN gateway di extension 2031
exten => _08.,1,Dial(SIP/${EXTEN}@2031,60,rt)