<div dir="ltr">Hello everyone!<div><br></div><div>I'm not sure if I correctly understood the description of functions <b>isbflagset</b> and <b>isbflagset</b> so once again I'm asking for help :)</div><div><br></div><div>Here is what I do:</div><div>1. Asterisk sends INVITE to Kamailio. Kamailio performs lookup of available contacts and then few checks in branch_route. I'm adding <i>setbflag("17", $T_branch_idx);</i> there.</div><div>2. Later in route[NATMANAGE] I added <i>if (isbflagset("17", $T_branch_idx)) {</i> and additional logic. <i>isbflagset</i> results in <b>true</b> (for same INVITE).</div><div>3. Finally one of UACs responds with 200 OK. Asterisk generates ACK packet that gets in route[NATMANAGE]. <i>isbflagset</i> results in <b>false</b>.</div><div><br></div><div>So my question is: shouldn't <i>isbflagset</i> be <b>true</b> for ACK too since it's the same branch or I interpreted these fenctions incorrectly?</div><div><br></div><div>Thanks a lot!</div></div>