As an update, I've attempted to use the AVPs but they still don't appear in the t_branch_timeout() function for a missing ACK.
Daniel-Constantin did mention in a previous thread that he wasn't certain t_branch_timeout() would trigger for an ACK, as the INVITE, 200 OK Transaction completes, and the ACK is a separate transaction. Testing indicates that t_branch_timeout() does trigger for a missing ACK, but perhaps as it's technically a separate transaction the AVPs associated with the invite are lost? Unfortunately I'm not much of a programmer so I can't dive into the code for clues. On Sun, Apr 24, 2016 at 4:44 PM, Marrold <kamai...@marrold.co.uk> wrote: > Hi Alex, > > Thanks for the response, I will try using an avp instead. > > I interpreted "message flags (or transaction flags) will works as they > do now, but the branch mask will be removed (rolling back as in 0.9.x > versions). These flags are transaction persistent." from > https://www.kamailio.org/dokuwiki/doku.php/utils:flags to mean the flags > were per transaction, however that Wiki page is a little old. > > Is there some more updated documentation regarding flags I should read? > > On Sun, Apr 24, 2016 at 4:20 PM, Alex Balashov <abalas...@evaristesys.com> > wrote: > >> Hi, >> >> Flags of this sort are unfortunately per-message; you'd want something >> transaction-persistent, like $avps. >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> 1447 Peachtree Street NE, Suite 700 >> Atlanta, GA 30309 >> United States >> >> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> Sent from my BlackBerry. >> Original Message >> From: Marrold >> Sent: Sunday, April 24, 2016 10:34 >> To: Kamailio (SER) - Users Mailing List >> Reply To: Kamailio (SER) - Users Mailing List >> Subject: [SR-Users] Using flags in t_branch_timeout() section of >> failure_route{} >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users