Difference between revisions of "OpenSER dengan Backend Asterisk"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
[general] | [general] | ||
allowguest=yes | allowguest=yes | ||
+ | allowexternalinvite=yes | ||
Line 33: | Line 34: | ||
exit; | exit; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[OpenSER Softswitch]] | ||
+ | * [[VoIP]] |
Latest revision as of 11:17, 13 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 allowexternalinvite=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; }