[Devel] [ openser-Bugs-1457714 ] Value of o_uri when branched

SourceForge.net noreply at sourceforge.net
Tue Mar 28 16:42:40 CEST 2006


Bugs item #1457714, was opened at 2006-03-24 14: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=1457714&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: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Arek Bekiersz (arekbek)
>Assigned to: Bogdan (bogdan_iancu)
Summary: Value of o_uri when branched

Initial Comment:
When using failure_route[] with db accounting enabled, 
the o_uri stored in accounting report in SER "acc" 
table contains o_uri of original request.

Sometimes it is desirable to have real o_uri that was 
used after branching.

Example:
...
modparam("acc", "db_flag", 3)
route{
    setflag(3);
    t_on_failure("1");
    rewritehost( "A");
    t_relay_to_udp("A", "5060");
    break;
}

failure_route[1] {
    t_on_failure("2");
    rewritehost( "B");
    append_branch();
    t_relay_to_udp("B", "5060");
}

failure_route[2] {
    rewritehost( "C");
    append_branch();
    t_relay_to_udp("C", "5060");
}

When INVITE is answered in failure_route[1] or 2, ac 
report will contain o_uri=A. It is desirable to have 
o_uri containing B or C accordingly.

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

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



More information about the Devel mailing list