[Devel] [ openser-Bugs-1739565 ] UAC - Module: uac_replace_from in Branch-Route

SourceForge.net noreply at sourceforge.net
Tue Jun 19 10:53:34 CEST 2007


Bugs item #1739565, was opened at 2007-06-19 08:53
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=1739565&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.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carsten Bock (carstenbock)
Assigned to: Nobody/Anonymous (nobody)
Summary: UAC - Module: uac_replace_from in Branch-Route

Initial Comment:
Happy Birthday OpenSER!

Congrutulations here from Hamburg, Germany to all OpenSER  Core Developers and thank you to all contributors to the OpenSER Project: Let's keep up the great work!

I fixed a minor Bug in OpenSER 1.2 (and earlier): uac_replace_from (Module UAC) was not proper usable in Branch-Routes (the module prohibited the use in branches and it did not work properly).
In Auto-Mode, for each branch a From-Line would be added to the Reply, resulting in multiple From-Lines in the reply. Not really a problem, just not nice.
The reason for this was, that the TM-Callback was set twice: Once when calling uac_replace_from, and the second time, when the RR-Callback was executed. When looking at the source, i did also see, that the RR-Param was also added in "manual"-Mode, which seems not to be neccessary.

The attached patch fixes the following:
- No RR-Param in manual-mode
- only single "From"-Line in replies in auto-mode
- uac_replace_from now usable in branch_routes

The patch is against OpenSER 1.2.1. I will do further testing on this patch.

Carsten

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

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



More information about the Devel mailing list