Difference between revisions of "VoIP: ENUM Demo Data"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
vi /etc/bind/named.conf.local
+
Edit named.conf.local
 +
 
 +
vi /etc/bind/named.conf.local
  
 
masukan entry domain 5.2.6.e164.id
 
masukan entry domain 5.2.6.e164.id

Revision as of 15:59, 22 January 2010

Edit named.conf.local

vi /etc/bind/named.conf.local

masukan entry domain 5.2.6.e164.id

zone "5.2.6.e164.id" IN {
        type master;
        file "/etc/bind/5.2.6.e164.id.db";
};

Semua data nomor telepon harus dimasukan ke file /etc/bind/5.2.6.e164.id.db

vi /etc/bind/5.2.6.e164.id.db
$TTL    86400
@	IN SOA  ns.warnet.co.id admin.warnet.co.id. (
			42              ; serial (d. adams)
			3H              ; refresh
			15M             ; retry
			1W              ; expiry
			1D )            ; minimum

            IN NS	ns.warnet.co.id.

0.0.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2000@192.168.0.3!" .
1.0.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2001@192.168.0.3!" .
2.0.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2002@192.168.0.3!" .
3.0.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2003@192.168.0.3!" .
4.0.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2004@192.168.0.3!" .
5.0.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2005@192.168.0.3!" .
0.2.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2020@192.168.0.3!" .
1.2.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2021@192.168.0.3!" .
2.2.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2022@192.168.0.3!" .
0.3.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2030@192.168.0.3!" .
1.3.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2031@192.168.0.3!" .
2.3.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2032@192.168.0.3!" .
3.3.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2033@192.168.0.3!" .
0.5.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2050@192.168.0.3!" .
1.5.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2051@192.168.0.3!" .
0.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2070@192.168.0.3!" .
1.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2071@192.168.0.3!" .
2.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2072@192.168.0.3!" .
3.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2073@192.168.0.3!" .
4.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2074@192.168.0.3!" .
5.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2075@192.168.0.3!" .
6.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2076@192.168.0.3!" .
7.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2077@192.168.0.3!" .
8.7.0.2	NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2078@192.168.0.3!" .

Pranala Menarik