Difference between revisions of "Relay ke PSTN Menggunakan OpenSER"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
| − | Berikut adalah contoh sederhana cara merelay ke PSTN  | + | Berikut adalah contoh sederhana cara merelay ke PSTN. Asumsi yang digunakan.  | 
| + | |||
| + | * ATA Berada di IP address 192.168.0.3 port 5060.  | ||
| + | |||
| + | |||
  # 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  |        log("Forwarding to PSTN\n");         ##  registered in our realm  | ||
| − |        t_relay_to( "192.168.0.3", "5060");  ##  192.168.0.3 adalah   | + |        t_relay_to( "192.168.0.3", "5060");  ##  192.168.0.3 adalah Analog Telepon Adapter (ATA)  | 
       break;  |        break;  | ||
       };  |        };  | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==Pranala Menarik==  | ||
| + | |||
| + | * [[OpenSER Softswitch]]  | ||
| + | * [[VoIP]]  | ||
Revision as of 15:06, 12 March 2008
Berikut adalah contoh sederhana cara merelay ke PSTN. Asumsi yang digunakan.
- ATA Berada di IP address 192.168.0.3 port 5060.
 
# 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 Analog Telepon Adapter (ATA) break; };