<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    instead of seturi use:<br>
    <br>
    $ru = "sip:" + $tU + "@" + $(du{s.select,1,:});<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 16/03/15 05:44, Yuriy Gorlichenko
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABSP_Vd5F6O+5d2=hbur7jEO2X0nzXUY5q0SgtYnHaY-UuKjbw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Now. when I use <br>
        <br>
        seturi(<a class="moz-txt-link-rfc2396E" href="sip:$tU@$(du{s.select,1,:})">"sip:$tU@$(du{s.select,1,:})"</a>);<br>
        <br>
        I see error at my log<br>
        <br>
        <div> ERROR: tm [t_lookup.c:1264]: new_t(): ERROR: new_t: uri
          invalid</div>
        <div> ERROR: tm [t_lookup.c:1411]: t_newtran(): ERROR:
          t_newtran: new_t failed</div>
        <div> ERROR: tm [t_lookup.c:1264]: new_t(): ERROR: new_t: uri
          invalid</div>
        <div> ERROR: tm [t_lookup.c:1411]: t_newtran(): ERROR:
          t_newtran: new_t failed</div>
        <div> ERROR: sl [sl_funcs.c:363]: sl_reply_error(): ERROR:
          sl_reply_error used: Regretfully, we were not able to process
          the URI (479/SL)</div>
        <div> ERROR: sl [sl_funcs.c:363]: sl_reply_error(): ERROR:
          sl_reply_error used: Regretfully, we were not able to process
          the URI (479/SL)</div>
        <div><br>
          As i see error generate twice maby because I ure t_on branch()
          route</div>
        <br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-03-16 7:18 GMT+03:00 Yuriy
          Gorlichenko <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ovoshlook@gmail.com" target="_blank">ovoshlook@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hello. I try to call multi[ple endpoints from
              my server using append_branch. It works fine but when I
              have only one endpoint - kamailio generate 2 INVITE
              requests to it.<br>
              As I understand it is original request and the next one is
              branch. <br>
              I used seturi() before for sending original reqest to
              destination, but I can not see this function at kamailio
              4.3.<br>
              Kamailio 4.3 uses send() dunnction? but it works at
              stateless mode. I need analog of it or seturi that works
              at statefull mode.<br>
              <br>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </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>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>