<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">DNS SRV for sip has nothing to do with ENUM. &nbsp;You have configured freeswitch to use enum for its dialplan, so it is doing an enum lookup. &nbsp;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.<div><br></div><div>Mike</div><div><br><div><br></div><div><br><div><div>On Aug 21, 2008, at 1:30 PM, Lee JJ wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Hello Brian :</div> <div>&nbsp;</div> <div>From the message</div> <div><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2008-August/005544.html">http://lists.freeswitch.org/pipermail/freeswitch-users/2008-August/005544.html</a></div> <div>><i><br></i>>><i> It should not query ENUM first .<br></i>>><i> 21&nbsp; 11.653138 210.2x.x.x -> 202.y.y.y DNS Standard query NAPTR&nbsp; <br></i>>><i> <a href="http://2.9.9.9.e164.org">2.9.9.9.e164.org</a>&nbsp; </i></div> <div><i>&lt;--- this is ENUM way , if I want to call an old fashion "Telephone No"<br>you can see the domain always go to "<a href="http://E164.ORG">E164.ORG</a>"</i></div> <div><br>>Again you told it to go to enum... isn't that exactly what it should&nbsp; <br>>do.&nbsp; Why would we do a srv before that unless I'm missing your point&nbsp; <br>>here.<br></div> <div>&nbsp;</div> <div><a href="http://www.voip-info.org/wiki-DNS+SRV">http://www.voip-info.org/wiki-DNS+SRV</a></div> <div>A Domain Name Server (DNS) SRV record helps connecting to a SIP user in a similar way that an MX record helps email delivery. </div> <div>&nbsp;</div> <div><a href="http://mit.edu/sip/sip.edu/dns.shtml">http://mit.edu/sip/sip.edu/dns.shtml</a></div> <div>&nbsp;</div> <div>For example </div> <div><a href="mailto:sip%3Abilling@voip.apnic.net">sip:billing@voip.apnic.net</a></div> <div><a href="mailto:sip%3A0702058888@sip.ttn.net">sip:0702058888@sip.ttn.net</a></div> <div>&nbsp;</div> <div>The pure dns query will get either an "A" record</div> <div>;; QUESTION SECTION:<br>;<a href="http://voip.apnic.net">voip.apnic.net</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A<br>;; ANSWER SECTION:<br><a href="http://voip.apnic.net">voip.apnic.net</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3600&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://203.119.0.97">203.119.0.97</a><br> </div> <div>or a "SRV" record</div> <div>;; QUESTION SECTION:<br>;<a href="http://sip.ttn.net">sip.ttn.net</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SRV</div> <div>;; ANSWER SECTION:<br><a href="http://sip.ttn.net">sip.ttn.net</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3600&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CNAME&nbsp;&nbsp; <a href="http://nusip1.gogotalk.net.tw">nusip1.gogotalk.net.tw</a>.<br></div> <div>&nbsp;</div> <div> <h4>for openser&nbsp; example</h4> <h4>forward(destination)</h4><p>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). </p><p><a href="http://www.opensips.org/index.php?n=Resources.DocsCoreFcn#parameters">http://www.opensips.org/index.php?n=Resources.DocsCoreFcn#parameters</a></p><p>for Asterisk sip.conf example</p><p>srvlookup=yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Enable DNS SRV lookups on outbound calls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Note: Asterisk only uses the first host<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; in SRV records<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Disabling DNS SRV lookups disables the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; ability to place SIP calls based on domain<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; names to some other SIP users on the Internet</p><p>So they are totally different !</p></div></div> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></body></html>