<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    apparently you have a broken r-uri ($ru) or dst uri ($du), which
    seems to be an address without leading 'sip:'. It could be because
    of config file operations, not parameters.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 02/10/14 01:13, Yuriy Gorlichenko
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABSP_VdE4BGdqn_uh3jYM_wPyQtfAqz0eeQYtZFc4Caih+h6Lg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello. We use 2 kamailio behind  load balanser that
        have domain name of our system .
        <div>uac settings like this:<br>
          <br>
          <div>modparam("uac","restore_mode","none")</div>
          <div>modparam("uac","reg_db_url", DBURL)</div>
          <div>modparam("uac", "reg_db_table", "uacreg")</div>
          <div>modparam("uac", "reg_timer_interval", 20)</div>
          <div>modparam("uac", "reg_retry_interval", 10)</div>
          <div>modparam("uac", "reg_contact_addr", "<a
              moz-do-not-send="true" href="http://sip.service.com:5068">sip.service.com:5068</a>")</div>
          <div><br>
          </div>
          <div>modparam("uac","auth_realm_avp","$avp(s:realm)")</div>
          <div>modparam("uac","auth_username_avp","$avp(s:uname)")</div>
          <div>modparam("uac","auth_password_avp","$avp(s:passwd)") </div>
          <div> </div>
          <br>
        </div>
        <div>We have a trouble with registering trunks at porvider. When
          UAC try to register trunk We see fails like this:<br>
          <br>
          <div>tm [ut.h:272]: uri2dst2(): ERROR: uri2dst: bad_uri: <a
              moz-do-not-send="true" href="http://sip.service.com">sip.service.com</a></div>
          <div>ERROR: tm [uac.c:266]: t_uac_prepare(): t_uac: no socket
            found</div>
          <div>ERROR: uac [uac_reg.c:746]: uac_reg_update(): failed to
            send request for [TRUNKNAME]</div>
        </div>
        <div><br>
          What we try:<br>
          <div>advertised_address=<a moz-do-not-send="true"
              href="http://sip.service.com">sip.service.com</a></div>
          <div>alias=<a moz-do-not-send="true"
              href="http://sip.service.com">sip.service.com</a></div>
          <div>alias=<a moz-do-not-send="true"
              href="http://kam2.service.com">kam2.service.com</a></div>
          <div>alias=Kam1.extern.ip.addr</div>
          <div>alias=Kam2.extern.ip.addr</div>
          <div>alias=load.balanser.ext.ipaddr</div>
          <div><br>
          </div>
          <div>These settings not resolved our issue.<br>
            <br>
            We have another trouble and think that it depended issues:<br>
            <br>
            We can call to external numbers through trunks, but call
            very slow. (10-15 seconds), and some operators (LIKE
            AT&T dropped our calls to voicemail systems and
            somethink like that)<br>
            <br>
            Our question is how to successfully register providers at
            UAC with this scheme. thanks for advices.</div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>