Relay ke PSTN Menggunakan SER

From OnnoWiki
Jump to navigation Jump to search

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");         ##  registered in our realm
     t_relay_to( "192.168.0.2", "5060");  ##  Our Cisco router
     break;
     };