[SR-Users] Using flags in t_branch_timeout() section of failure_route{}
Marrold
kamailio at marrold.co.uk
Sun Apr 24 16:33:12 CEST 2016
Hi all,
I'm having issues using flags in a t_branch_timeout() of failure_route{}
A brief summary of the code -
onreply_route{
setflag(14);
}
failure_route {
if (t_branch_timeout()) {
xlog("L_ALERT","t_branch_timeout()\n$mb");
if (isflagset(14)) {
xlog("L_ALERT","isflagset(14) - YES\n$mb");
}
}
}
The call flow is below, t_branch_timeout() is being triggered when the 200
OK is not ACK'd
-- INVITE ->
<- 100 Trying --
<- 180 Ringing --
<- 200 OK --
<- 200 OK --
<- 200 OK --
<- 200 OK --
I can attempt to create a minimal .cfg if anyone wishes to replicate it,
assuming I'm not missing something stupid.
Thanks,
Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160424/752fcd7d/attachment.html>
More information about the sr-users
mailing list