<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you send a trace that includes the registration as well as the
    call?<br>
    <br>
    The pub-gruu is using the AoR, iirc.<br>
    <br>
    Also, the line you refer to is not matching anymore with latest
    4.1.x -- paste the code around it to locate it properly.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 26/08/14 18:05, samuel wrote:<br>
    </div>
    <blockquote
cite="mid:CAOg=WDcE8VTQMoTUPJtqyRnV3tfYeniNs2mW6--p9T4ky907QQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>Hi all,<br>
                  <br>
                  I'm having some issues treating requests within
                  dialogs with gruu enabled with kamailio 4.1.2.<br>
                  <br>
                </div>
                I've got the "standard" configuration of WITHIN route
                with the adition of the next lines:<br>
                <br>
                                        if(is_gruu()){<br>
                                                route(LOCATION);<br>
                                        };<br>
                <br>
              </div>
              before the the RELAY route call in the loose_route
              section.<br>
              <br>
              The "problem" is that the ACK with a pub-gruu on the
              Req-URI is not properly lookup. In the logs I can see the
              following statements:<br>
               2(4232) DEBUG: registrar [lookup.c:123]: lookup():
              looking up pub gruu
              [urn:uuid:d63b1c4f-d7dc-4f4e-87f1-948123266dc0]<br>
               2(4232) DEBUG: registrar [lookup.c:158]: lookup():
              '<a class="moz-txt-link-abbreviated" href="mailto:sam@A.B.C.D">sam@A.B.C.D</a>' Not found in usrloc<br>
              <br>
            </div>
            Where A.B.C.D is the local IP of the UA.<br>
            <br>
            Looking at the code, this last line looks like is looking
            for the "standard" URI (username@domain) instead of using
            the pub gruu. Am I right with this assumption or am I
            missing something from the code?<br>
            As far as I could look, it looks like there's an exit -1
            statement in the line 158 of lookup.c which disables the
            following gruu treatment.<br>
            <br>
          </div>
          Since the username with IP is not registered, this ACK is lost
          and the sesion is not stablished (lost ACK).<br>
          <br>
        </div>
        Can anyone provide some hints why is this failing?<br>
        <br>
        Thanks a lot in advance!<br>
        Samuel.<br>
        <div>
          <div>
            <div><br>
            </div>
          </div>
        </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>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA</pre>
  </body>
</html>