[Devel] [ openser-Bugs-1530071 ] Resetting flags in branch_route resets flags for ALL branchs

SourceForge.net noreply at sourceforge.net
Fri Aug 18 10:24:32 CEST 2006


Bugs item #1530071, was opened at 2006-07-28 03:57
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1530071&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: modules
Group: ver 1.0.x
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bogdan (bogdan_iancu)
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

----------------------------------------------------------------------

Comment By: reticent (unspin)
Date: 2006-08-04 20:11

Message:
Logged In: YES 
user_id=1568212

sorry, i should have updated this ticket after getting your
response on the development mailing list

The issue was resolved by properly using the
branch_flag_mask tm parameter


Thanks for your help Bogdan

----------------------------------------------------------------------

Comment By: Bogdan (bogdan_iancu)
Date: 2006-08-04 17:38

Message:
Logged In: YES 
user_id=1275325

have you properly set the branch_flag_mask TM param?
(see
http://www.openser.org/docs/modules/1.1.x/tm.html#BRANCH-FLAG-MASK)

the mask must cover the flags you are using in a per-branch
scenario.

Regards,
Bogadn

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1530071&group_id=139143



More information about the Devel mailing list