Relay ke PSTN Menggunakan OpenSIPS

From OnnoWiki
Revision as of 11:44, 28 April 2009 by Onnowpurbo (talk | contribs) (New page: 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]*@my...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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);
     };



Pranala Menarik