Dear <div>you must set srv_lookup on in your config.<br><div>some basic info about srv is here</div><div><br></div><div><a href="http://blog.lopl.net/?p=23">http://blog.lopl.net/?p=23</a></div><div><br></div><div>best</div>

<div><br></div><div><br><br><div class="gmail_quote">On Tue, Aug 9, 2011 at 11:38 PM, J Gao <span dir="ltr">&lt;<a href="mailto:jgao@veecall.com">jgao@veecall.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Anyone?<div><div></div><div class="h5"><br>
    <br>
    On 11-08-08 09:37 AM, J Gao wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">
      
      Hello, All,<br>
      <br>
      I have a question about using SRV record. One of SIP provider is
      using DNS SRV record. If I use IP address of the SIP proxy server
      I can successfully register my Asterisk 1.8.5. But If I try to use
      the domain name like:<br>
      <i>register =&gt; <a href="mailto:user:pass@somedomain.com" target="_blank">user:pass@somedomain.com</a></i><br>
      then the registration failed.<br>
      <br>
      So I have to &quot;<i>dig <a href="http://somedomain.com" target="_blank">somedomain.com</a> SRV</i>&quot; to find out the SIP
      proxy host, for example, &quot;<a href="http://sip.regserver.com" target="_blank">sip.regserver.com</a>&quot;, then I have to run &quot;<i>dig

        <a href="http://sip.regserver.com" target="_blank">sip.regserver.com</a></i>&quot; to find out the real IP address.<br>
      <br>
      Does Asterisk has the feature so I can register by SRV record? I
      lookup up sip.conf and I enabled srvlookup=yes, but that is only
      for SIP URI outgoing call, not for SIP registration.<br>
      <br>
      Thank you in advance.<br>
      <br>
      Jian<br>
      </div></div><pre><fieldset></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
    <br>
  </div>

<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Pezhman Lali<div><br></div>

<br>
</div></div>