Relay ke PSTN Menggunakan OpenSER: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump 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) No edit summary |
||
| Line 1: | Line 1: | ||
Berikut adalah contoh sederhana cara merelay ke PSTN | Berikut adalah contoh sederhana cara merelay ke PSTN | ||
# attempt handoff to PSTN | # attempt handoff to PSTN | ||
if (uri=~"^sip:9[0-9]*@mydomain.com") { ## This assumes that the caller is | 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.3", "5060"); ## 192.168.0.3 adalah Asterisk | |||
break; | |||
}; | |||
Revision as of 07:31, 11 March 2008
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.3", "5060"); ## 192.168.0.3 adalah Asterisk break; };