[SR-Users] null branch(count) variable

Ilie Soltanici iliusha.md at gmail.com
Mon Jun 15 18:39:19 CEST 2020


Hello,

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?

lookup();
xlog("Branch Count: $branch(count)\n");

Kamailio Version: 5.2.7

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200615/b09c39dd/attachment.html>


More information about the sr-users mailing list