<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>can you get any other attribute from the variable?</p>
    <p>  - <a
href="https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#branch_name_-_branch_attributes">https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#branch_name_-_branch_attributes</a></p>
    <p>At least the uri should be set.</p>
    <p>Also, have you tested that lookup() was true?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 15.06.20 18:39, Ilie Soltanici
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJQ6-U3O5d_V8UCE-DeDpTWLZx2=7qbvAe-WGimmH4G4FcaBCg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>As per documentation after lookup() function I have to get
          the number of branches from the main branch by
          using $branch(count) variable, but for some reason, I'm
          getting always only <null> value, can someone help me to
          understand what I'm doing wrong?</div>
        <div><br>
        </div>
        lookup();<br>
        xlog("Branch Count: $branch(count)\n");
        <div><br>
        </div>
        <div>Kamailio Version: 5.2.7<br>
          <div><br>
          </div>
          <div>Thanks.</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>