[Freeswitch-users] DNS SRV != ENUM

Lee JJ jengjr at gmail.com
Thu Aug 21 10:30:23 PDT 2008

Hello Brian :

>From the message
*>>* It should not query ENUM first .
*>>* 21  11.653138 210.2x.x.x -> 202.y.y.y DNS Standard query NAPTR
*>>*  *
*<--- this is ENUM way , if I want to call an old fashion "Telephone No"
you can see the domain always go to "E164.ORG"*

>Again you told it to go to enum... isn't that exactly what it should
>do.  Why would we do a srv before that unless I'm missing your point

A Domain Name Server (DNS) SRV record helps connecting to a SIP user in a
similar way that an MX record helps email delivery.


For example
sip:billing at voip.apnic.net <sip%3Abilling at voip.apnic.net>
sip:0702058888 at sip.ttn.net <sip%3A0702058888 at sip.ttn.net>

The pure dns query will get either an "A" record
;voip.apnic.net.                        IN      A
voip.apnic.net.         3600    IN      A
or a "SRV" record
;sip.ttn.net.                   IN      SRV
sip.ttn.net.            3600    IN      CNAME   nusip1.gogotalk.net.tw.

 for openser  example forward(destination)

Forward the SIP request to the given destination in stateless mode. This has
the format of [proto:]host[:port]. Host can be an IP or hostname; supported
protocols are UDP, TCP and TLS. (For TLS, you need to compile the TLS
support into core). If proto or port are not specified, NAPTR and SRV
lookups will be used to determine them (if possible).


for Asterisk sip.conf example

srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
                                ; Note: Asterisk only uses the first host
                                ; in SRV records
                                ; Disabling DNS SRV lookups disables the
                                ; ability to place SIP calls based on domain
                                ; names to some other SIP users on the

So they are totally different !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080822/b28864d0/attachment-0002.html 

More information about the FreeSWITCH-users mailing list