Relay ke Selular Menggunakan OpenSIPS

From OnnoWiki
Revision as of 15:01, 25 August 2009 by Onnowpurbo (talk | contribs) (New page: Berikut adalah contoh sederhana cara merelay ke Selular. Asumsi yang digunakan. * ATA Berada di IP address 192.168.0.200 port 5061. # attempt handoff to PSTN if (uri=~"^sip:08[0-9]*@...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Berikut adalah contoh sederhana cara merelay ke Selular. Asumsi yang digunakan.

  • ATA Berada di IP address 192.168.0.200 port 5061.


# attempt handoff to PSTN
if (uri=~"^sip:08[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