[Freeswitch-users] DNS SRV != ENUM
Brian West
brian at freeswitch.org
Thu Aug 21 13:53:07 EDT 2008
Lee,
More to the point is that enum returns a URL... which in turn is
passed to sofia which will do the proper SRV/NAPTR lookups to figure
out the proper place and protocol to send the call. ENUM only looks
at NAPTR records.
Thanks,
/b
On Aug 21, 2008, at 12: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
Brian West
sip:brian at freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080821/f9feaa94/attachment-0001.html
More information about the Freeswitch-users
mailing list