Difference between revisions of "OpenSER dengan Backend Asterisk"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 39: | Line 39: | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
+ | * [[OpenSER Softswitch]] | ||
* [[VoIP]] | * [[VoIP]] |
Revision as of 11:22, 12 March 2008
Kita dapat menggabungkan beberapa mesin asterisk di belakang sebuah Server OpenSER.
Persiapan di sisi Asterisk
Siapkan dan Edit /etc/asterisk/sip.conf
# vi /etc/asterisk/sip.conf
Pastikan
[general] allowguest=yes
Persiapan di sisi OpenSER
Siapkan dan Edit file /etc/openser/openser.cfg
Lakukan rewrite untuk nomor-nomor yang ada di Asterisk. Misalnya ke nomor 600 di arahkan ke asterisk server yang berlokasi di 192.168.0.3:5060
if (uri=~"sip:600@.*") { rewritehostport("192.168.0.3:5060"); route(1); } route[1] { # send it out now; use stateful forwarding as it works reliably # even for UDP2TCP if (!t_relay()) { sl_reply_error(); }; exit; }