[OpenSER-Devel] [ openser-Bugs-1979305 ] acc doesn't log multiple branches correctly

SourceForge.net noreply at sourceforge.net
Fri May 30 15:29:49 CEST 2008


Bugs item #1979305, was opened at 2008-05-30 15:29
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=1979305&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stanislaw Pitucha (viraptor)
Assigned to: Nobody/Anonymous (nobody)
Summary: acc doesn't log multiple branches correctly

Initial Comment:
Is my current setup acc is not behaving correctly.

We do an enum_query(...) and then check all branches by using next_branches() in failure_route. When some route fails, and second one succeeds, we get this record in db:

missed_calls:
6 | INVITE | rh2fnt0vb9 | as4c730b64 | 3c51fa8a058d-xy15vv1od2qf | 404 | Not Found | 2008-05-30 13:03:31

acc:
10 | BYE | rh2fnt0vb9 | as192d5c2f | 3c51fa8a058d-xy15vv1od2qf | 200 | OK | 2008-05-30 13:03:33

Even though that call was connected in the end, it's split between missed and acc. Behaviour that we would actually like to see is what we get after commenting "reset_acc_flag( req, flags_to_reset );" in acc_logic.c:on_missed()

missed:
11 | INVITE | u6uqklawja | as489bf46e | 3c2a840c1c5d-auhvh69993ur | 404      | Not Found          | 2008-05-30 14:04:03

acc:
14 | INVITE | u6uqklawja | as0cf4c84f | 3c2a840c1c5d-auhvh69993ur | 200      | OK         | 2008-05-30 14:04:03
15 | BYE    | u6uqklawja | as0cf4c84f | 3c2a840c1c5d-auhvh69993ur | 200      | OK         | 2008-05-30 14:04:07

So each failed branch gets it's own missed_calls entry and successes are logged correctly with both INVITE and BYE. I'd like to propose making this behaviour configurable with modparam.

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

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



More information about the Devel mailing list