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.