Difference between revisions of "Relay ke PSTN Menggunakan OpenSIPS"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Berikut adalah contoh sederhana cara merelay ke PSTN. Asumsi yang digunakan. | + | Berikut adalah contoh sederhana cara merelay ke [[PSTN]]. Asumsi yang digunakan. |
− | * ATA Berada di IP address 192.168.0.200 port 5061. | + | * [[ATA]] Berada di [[IP address]] 192.168.0.200 port 5061. |
==Dari semua domain== | ==Dari semua domain== | ||
Line 7: | Line 7: | ||
# attempt handoff to PSTN | # attempt handoff to PSTN | ||
if (uri=~"^sip:021[0-9]*@*") { | if (uri=~"^sip:021[0-9]*@*") { | ||
− | rewritehostport( "192.168.0.200:5061"); ## 192.168.0. | + | rewritehostport( "192.168.0.200:5061"); ## 192.168.0.200:5061 adalah [[Analog Telepon Adapter]] ([[ATA]]) |
route(1); | route(1); | ||
}; | }; | ||
Line 14: | Line 14: | ||
# attempt handoff to PSTN | # attempt handoff to PSTN | ||
− | if (uri=~"^sip:021[0-9]*@mydomain.com") { | + | if (uri=~"^sip:021[0-9]*@mydomain.com") { ## Asumsinya caller register ke mydomain.com |
− | rewritehostport( "192.168.0.200:5061"); ## 192.168.0. | + | rewritehostport( "192.168.0.200:5061"); ## 192.168.0.200:5061 adalah [[Analog Telepon Adapter]] ([[ATA]]) |
route(1); | route(1); | ||
}; | }; | ||
Line 21: | Line 21: | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
+ | * [[OpenSIPS]] | ||
* [[OpenSIPS Softswitch]] | * [[OpenSIPS Softswitch]] | ||
− | * [[ | + | * [[Compile OpenSIPS]] |
+ | * [[OpenSIPS: Cek Konfigurasi]] | ||
+ | * [[OpenSIPS: Demo Dial Plan]] | ||
+ | * [[Menggunakan opensipsdbctl]] | ||
+ | * [[Menggunakan opensipsctl]] | ||
+ | * [[Konfigurasi minimal OpenSIPS]] | ||
+ | * [[OpenSIPS: Demo User]] | ||
+ | * [[Relay ke PSTN Menggunakan OpenSIPS]] | ||
+ | * [[Relay ke Selular Menggunakan OpenSIPS]] | ||
+ | * [[ENUM Query di OpenSIPS]] |
Latest revision as of 06:04, 31 December 2013
Berikut adalah contoh sederhana cara merelay ke PSTN. Asumsi yang digunakan.
- ATA Berada di IP address 192.168.0.200 port 5061.
Dari semua domain
# attempt handoff to PSTN if (uri=~"^sip:021[0-9]*@*") { rewritehostport( "192.168.0.200:5061"); ## 192.168.0.200:5061 adalah Analog Telepon Adapter (ATA) route(1); };
Hanya dari mydomain.com
# attempt handoff to PSTN if (uri=~"^sip:021[0-9]*@mydomain.com") { ## Asumsinya caller register ke mydomain.com rewritehostport( "192.168.0.200:5061"); ## 192.168.0.200:5061 adalah Analog Telepon Adapter (ATA) route(1); };