[Users] Fwd: [Devel] [ openser-Bugs-1530057 ] Resetting flags in branch_route resets flags for ALL branchs

Weiter Leiter bp4mls at googlemail.com
Fri Jul 28 09:40:10 CEST 2006


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?
- 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)?

WL.

---------- Forwarded message ----------
From: SourceForge.net <noreply at 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 at 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=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=1530057&group_id=139143

_______________________________________________
Devel mailing list
Devel at openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060728/7a8b0394/attachment.htm>


More information about the sr-users mailing list