[Freeswitch-users] DNS SRV != ENUM

Michael Jerris mike at jerris.com
Thu Aug 21 10:36:46 PDT 2008


DNS SRV for sip has nothing to do with ENUM.  You have configured  
freeswitch to use enum for its dialplan, so it is doing an enum  
lookup.  If you send a call out the sofia module using a domain name  
we do properly do a DNS SRV loojup as in your links below.

Mike



On Aug 21, 2008, at 1:30 PM, Lee JJ wrote:

> Hello Brian :
>
> From the message
> http://lists.freeswitch.org/pipermail/freeswitch-users/2008-August/005544.html
> >
> >> It should not query ENUM first .
> >> 21  11.653138 210.2x.x.x -> 202.y.y.y DNS Standard query NAPTR
> >> 2.9.9.9.e164.org
> <--- 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
> >here.
>
> http://www.voip-info.org/wiki-DNS+SRV
> A Domain Name Server (DNS) SRV record helps connecting to a SIP user  
> in a similar way that an MX record helps email delivery.
>
> http://mit.edu/sip/sip.edu/dns.shtml
>
> For example
> sip:billing at voip.apnic.net
> sip:0702058888 at sip.ttn.net
>
> The pure dns query will get either an "A" record
> ;; QUESTION SECTION:
> ;voip.apnic.net.                        IN      A
> ;; ANSWER SECTION:
> voip.apnic.net.         3600    IN      A       203.119.0.97
> or a "SRV" record
> ;; QUESTION SECTION:
> ;sip.ttn.net.                   IN      SRV
> ;; ANSWER SECTION:
> 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).
>
> http://www.opensips.org/index.php?n=Resources.DocsCoreFcn#parameters
>
> 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 Internet
>
> So they are totally different !
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080821/8e7a218d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list