Hello,
per branch flags can be set by using branch_flag_mask parameter of tm
module.
http://www.openser.org/docs/modules/1.0.x/tm.html#BRANCH-FLAG-MASK
On 07/28/06 10:40, Weiter Leiter wrote:
Speaking of which: there is no documentation regarding
the flag set
involved in transactions; there is a flag tutorial, but it doesn't tell:
- that one flag set in a transaction will be set automatically in the
reply, too (in the on reply route, armed in a transaction) - is this
correct?
yes.
- what's the flags behaviour with multiple
branches (one branch sets a
flag, can i see this flag from some other branch or which of the flags
will i see in on failure route)?
depending or not if the flag you set is in per-branch mask or not.
Cheers,
Daniel
WL.
---------- Forwarded message ----------
From: *SourceForge.net* <noreply(a)sourceforge.net
<mailto:noreply@sourceforge.net>>
Date: Jul 28, 2006 2:02 AM
Subject: [Devel] [ openser-Bugs-1530057 ] Resetting flags in
branch_route resets flags for ALL branchs
To: noreply(a)sourceforge.net <mailto:noreply@sourceforge.net>
Bugs item #1530057, was opened at 2006-07-27 17:02
Message generated for change (Tracker Item Submitted) made by Item
Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=153005…
<https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1530057&group_id=139143>
Please note that this message will contain a full copy of the comment
thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.0.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Resetting flags in branch_route resets flags for ALL branchs
Initial Comment:
I'm using branch route to trigger mediaproxy logic per
branch for UAC
directed calls and i'm experiencing some strange behavior:
t_relay() is called, there are two branches
In both branches there are two flags set
During branch_route processing of the first branch both
are left intact.
During branch_route processing of the second branch,
both are reset
(unset)
The destination UAC for the first branch picks up the
phone call,
sending a SIP OK message
This is where i'm experiencing the problem
Inside of the onreply_route both flags are NOT set,
even though they
were unset in a different call branch
This makes it impossible to properly use mediaproxy on
calls with multiple branches (because some branches may
not need mediaproxy which will break the ones that do
in some circumstances because the "200 OK" that hits
the onreply_route will not be flagged to need
mediaproxying)
This is using a recent (1-2 weeks ago) cvs checkout of
OpenSER 1.0.0
tavis
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=153005…
<https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1530057&group_id=139143>
_______________________________________________
Devel mailing list
Devel(a)openser.org <mailto:Devel@openser.org>
http://openser.org/cgi-bin/mailman/listinfo/devel
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users