<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    hopefully it is sorted out. The issue was when creating an empty
    transaction for local generated requests in tm module, resulting in
    loosing the list to initial transaction created previously in
    config.<br>
    <br>
    I did tests and went fine - code committed in master and 3.1
    branches.<br>
    <br>
    If you can test and report the results, would be great.<br>
    <br>
    Thanks,<br>
    Daniel<br>
    <br>
    On 9/14/11 4:52 PM, Daniel-Constantin Mierla wrote:
    <blockquote cite="mid:4E70BFBB.2000503@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello,<br>
      <br>
      ok, I see the difference, I will test this case as well before
      releasing 3.1.5 and come back later with another message with more
      details.<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      On 9/14/11 3:17 PM, Vitaliy Aleksandrov wrote:
      <blockquote
cite="mid:CANz6d4+-Kr0ypX3ebKWwGQWEJYZFdVrCowuSrTVZnP50jpRDtQ@mail.gmail.com"
        type="cite">Hello. I found the difference between my config and
        yours. I have t_newtran at the beginning of the request route
        for all INVITE messages without to-tag.
        <div>Looks like without t_newtran all works fine.</div>
        <div><br>
        </div>
        <div>As i understand t_relay creates a new transaction and while
          first invite waiting for a db / radius or "100 Trying"
          &nbsp;re-transmit may come. And till first invite call t_relay
          re-transmitted copy will go through all request-route.<br>
          <br>
        </div>
        <div>Could you pls explain why i can't call t_newtran() before
          uac_req_send() ?</div>
        <div><br>
          <div class="gmail_quote">On Wed, Sep 14, 2011 at 12:31 AM,
            Daniel-Constantin Mierla <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex;">
              <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
                <br>
                I did a small test myself with following config and
                avp(x) was printed ok in failure route. All looks fine,
                so check to see if you don't delete them directly
                somehow, avp_print() should help printing all avps, as I
                said in previous email.<br>
                <br>
                Cheers,<br>
                Daniel<br>
                <br>
                route {<br>
                <br>
                &nbsp;&nbsp;&nbsp; $avp(x) = "abc";<br>
                &nbsp;&nbsp;&nbsp; xlog("====-RR avp(x) [$avp(x)]\n");<br>
                <br>
                &nbsp;&nbsp;&nbsp; $uac_req(method)="OPTIONS";<br>
                &nbsp;&nbsp;&nbsp; $uac_req(ruri)=<a moz-do-not-send="true">"sip:127.0.0.1:9"</a>;<br>
                &nbsp;&nbsp;&nbsp; $uac_req(furi)=<a moz-do-not-send="true">"sip:127.0.0.1"</a>;<br>
                &nbsp;&nbsp;&nbsp; $uac_req(turi)=<a moz-do-not-send="true">"sip:127.0.0.1"</a>;<br>
                &nbsp;&nbsp;&nbsp; uac_req_send();<br>
                <br>
                &nbsp;&nbsp;&nbsp; xlog("====#RR avp(x) [$avp(x)]\n");<br>
                <br>
                &nbsp;&nbsp;&nbsp; t_on_failure("x");<br>
                &nbsp;&nbsp;&nbsp; t_relay_to("udp:<a moz-do-not-send="true"
                  href="http://127.0.0.1:9" target="_blank">127.0.0.1:9</a>");<br>
                &nbsp;&nbsp;&nbsp; xlog("====*RR avp(x) [$avp(x)]\n");<br>
                &nbsp;&nbsp;&nbsp; exit;<br>
                }<br>
                <br>
                failure_route[x] {<br>
                &nbsp;&nbsp;&nbsp; xlog("====+FR avp(x) [$avp(x)]\n");
                <div>
                  <div class="h5"><br>
                    }<br>
                    <br>
                    On 9/13/11 5:02 PM, Daniel-Constantin Mierla wrote:
                    <blockquote type="cite"> Hello,<br>
                      <br>
                      On 9/13/11 3:04 PM, Vitaliy Aleksandrov wrote:
                      <blockquote type="cite">Hello,
                        <div>i tried with a latest 3.1 and now avps
                          works after uac_req_send, but i can't get avp
                          values from onreply and failure routes.</div>
                      </blockquote>
                      <br>
                      do you mean no avp is available in onreply and
                      failure routes but they are available in request
                      route block up to t_relay()? Have you used
                      avp_print() from avpops to print the list of all
                      avps (at INFO level)?<br>
                      <br>
                      Cheers,<br>
                      Daniel<br>
                      <blockquote type="cite">
                        <div><br>
                          <div class="gmail_quote">On Mon, Sep 12, 2011
                            at 10:21 AM, Daniel-Constantin Mierla <span
                              dir="ltr">&lt;<a moz-do-not-send="true"
                                href="mailto:miconda@gmail.com"
                                target="_blank">miconda@gmail.com</a>&gt;</span>
                            wrote:<br>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex">
                              <div bgcolor="#FFFFFF" text="#000000">
                                Hello,<br>
                                <br>
                                the bug was associated with an internal
                                tm function used to send the request.
                                Can you try again with latest branch
                                3.1, over the weekend I backported the
                                fix. Let me know if works now for you.<br>
                                <br>
                                Thanks,<br>
                                Daniel
                                <div>
                                  <div><br>
                                    <br>
                                    On 9/9/11 3:33 PM, Vitaliy
                                    Aleksandrov wrote: </div>
                                </div>
                                <blockquote type="cite">
                                  <div>
                                    <div>There is a bug in UAC module.
                                      uac_req_send doesn't restore avps.
                                      <div>I tried to backport your
                                        patch to 3.1 but with no
                                        success.&nbsp;</div>
                                      <div><br>
                                      </div>
                                      <div>Could you add this patch to a
                                        new stable release ?</div>
                                      <br>
                                      <fieldset></fieldset>
                                      <br>
                                    </div>
                                  </div>
                                  <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                                </blockquote>
                                <font color="#888888"> <br>
                                  <pre cols="72">-- 
Daniel-Constantin Mierla -- <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a moz-do-not-send="true" href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a moz-do-not-send="true" href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a moz-do-not-send="true" href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
                                </font></div>
                            </blockquote>
                          </div>
                          <br>
                        </div>
                        <br>
                        <fieldset></fieldset>
                        <br>
                        <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                      </blockquote>
                      <br>
                      <pre cols="72">-- 
Daniel-Constantin Mierla -- <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a moz-do-not-send="true" href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a moz-do-not-send="true" href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a moz-do-not-send="true" href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
                      <br>
                      <fieldset></fieldset>
                      <br>
                      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                    </blockquote>
                    <br>
                    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a moz-do-not-send="true" href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a moz-do-not-send="true" href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a moz-do-not-send="true" href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
                  </div>
                </div>
              </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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
      <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://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>