Using Bind
Bind is a DNS server available on linux.
Bind reference documentation is available on www.bind9.net.
db.cipango.voip
$TTL 1800
@ IN SOA ns.cipango.voip. mail-admin.cipango.voip. (
2007070801
10000
3600
604800
1800)
@ IN NS ns.cipango.voip.
; Enum configuration to translate tel:+1000 to sip:alice@cipango.voip
0.0.0.1.cipango.voip. IN NAPTR 5 10 "U" "E2U+sip" "!^\\+1000$!sip:alice@cipango.voip!".
1.0.0.1.cipango.voip. IN NAPTR 5 10 "U" "E2U+sip" "!^\\+1001$!sip:bob@cipango.voip!".
2.0.0.1.cipango.voip. IN NAPTR 5 10 "U" "E2U+sip" "!^\\+1002$!sip:carol@cipango.voip!".
; SRV configuration used by other IMS to find I-CSCF
_sip SRV 0 0 5060 i-cscf
_sip._udp SRV 0 0 5060 i-cscf
_sip._tcp SRV 0 0 5060 i-cscf
; Add A entry for cipango.voip for IMS which does not support SRV.
cipango.voip. IN A 192.168.2.207
p-cscf IN A 192.168.2.207
s-cscf IN A 192.168.2.207
i-cscf IN A 192.168.2.207
hss IN A 192.168.2.207
ns IN A 192.168.2.207
| Replace 192.168.2.207 with your littleIMS IP address |
etc/hosts file
Microsoft Windows
C:WINDOWSsystem32driversetchosts
# Copyright (c) 1993-1999 Microsoft Corp. # # Ceci est un exemple de fichier HOSTS utilisé par Microsoft TCP/IP # pour Windows. # # Ce fichier contient les correspondances des adresses IP aux noms d'hôtes. # Chaque entrée doit être sur une ligne propre. L'adresse IP doit être placée # dans la première colonne, suivie par le nom d'hôte correspondant. L'adresse # IP et le nom d'hôte doivent être séparés par au moins un espace. # # De plus, des commentaires (tels que celui-ci) peuvent être insérés sur des # lignes propres ou après le nom d'ordinateur. Ils sont indiqué par le # symbole '#'. # # Par exemple : # # 102.54.94.97 rhino.acme.com # serveur source # 38.25.63.10 x.acme.com # hôte client x 127.0.0.1 localhost 192.168.2.207 cipango.voip 192.168.2.207 hss.cipango.voip 192.168.2.207 i-cscf.cipango.voip 192.168.2.207 s-cscf.cipango.voip 192.168.2.207 p-cscf.cipango.voip
*nix systems
/etc/hosts
127.0.0.1 localhost 192.168.2.207 cipango.voip 192.168.2.207 hss.cipango.voip 192.168.2.207 i-cscf.cipango.voip 192.168.2.207 s-cscf.cipango.voip 192.168.2.207 p-cscf.cipango.voip
Labels:
None
