[OpenSER-Devel] problem with setting message flag in branch route

Juha Heinanen jh at tutpro.com
Tue Aug 28 17:49:12 CEST 2007


Klaus Darilion writes:

 > Maybe you have to use branch flags in branch routes?

klaus,

flags document http://www.openser.org/dokuwiki/doku.php/utils:flags has:

Message/transaction flags

These flags will show up in all routes where messages related to the
initial request are processed. So, they will be visible and changeable
in onbranch, failure and onreply routes; the flags will be visible in
all branch routes; if you change a flag in a branch route, the next
branch routes will inherit the change.

if a change a message flag (that is not branch, but transaction
specific) anywhere within a transaction, i would assume that its new
value will be in effect everywhere this transaction is processed.

if i'm wrong and changing of message flag in branch route only affects
that branch, then perhaps the above should be clarified.

-- juha



More information about the Devel mailing list