[OpenSIPS-Devel] [ opensips-Patches-2714507 ] Adding qvalue to lookup function

SourceForge.net noreply at sourceforge.net
Sat May 9 10:06:05 CEST 2009


Patches item #2714507, was opened at 2009-03-26 15:38
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2714507&group_id=232389

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: 1.4.x
Status: Open
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Davi' Mauro (mdavi)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Adding qvalue to lookup function

Initial Comment:
This patch is applicable to the registrar module for opensips version 1.4.5.

The append_branch function have a parameter in which I can set the qvalue, 
but I cannot set the qvalue of the first RURI branch (i.e. the message itself). 

So I add a parameter to the lookup function (registrar module). In this way I can set qvalue properly. 
The lookup function qvalue parameter can set also using script variable.

Regards,
     MD



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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-05-09 11:06

Message:
Hi Mauro,

I'm a bit confused - If I understand correctly you want to have the
possibility to set the q value of the RURI branch, right ?
If so, why is the lookup() function changed? the lookup() function do load
the q values as stored in the user location (as registered) and you should
not override this.

Regards,
Bogdan

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2714507&group_id=232389



More information about the Devel mailing list