Difference between revisions of "Relay ke PSTN Menggunakan OpenSER"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Berikut adalah contoh sederhana cara merelay ke PSTN # attempt handoff to PSTN if (uri=~"^sip:9[0-9]*@mydomain.com") { ## This assumes that the caller is log("Forwarding to PSTN\n...) |
Onnowpurbo (talk | contribs) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | Berikut adalah contoh sederhana cara merelay ke PSTN | + | Berikut adalah contoh sederhana cara merelay ke PSTN. Asumsi yang digunakan. |
| − | # attempt handoff to PSTN | + | * ATA Berada di IP address 192.168.0.200 port 5061. |
| − | if (uri=~"^sip: | + | |
| − | + | ||
| − | + | ||
| − | + | # 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.3:5061 adalah Analog Telepon Adapter (ATA) | ||
| + | route(1); | ||
| + | }; | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==Pranala Menarik== | ||
| + | |||
| + | * [[OpenSER Softswitch]] | ||
| + | * [[VoIP]] | ||
Latest revision as of 11:29, 23 April 2008
Berikut adalah contoh sederhana cara merelay ke PSTN. Asumsi yang digunakan.
- ATA Berada di IP address 192.168.0.200 port 5061.
# 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.3:5061 adalah Analog Telepon Adapter (ATA) route(1); };