[OpenSIPS-Devel] R: Registrar Module and qvalue

Mauro Davi' mauro.davi at acotel.com
Wed Mar 25 17:20:07 CET 2009


Hi Bogdan,

attached the diff file created with svn diff.

Regards,
	MD

-----Messaggio originale-----
Da: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro] 
Inviato: martedì 24 marzo 2009 21:03
A: Mauro Davi'
Cc: devel at lists.opensips.org
Oggetto: Re: [OpenSIPS-Devel] Registrar Module and qvalue

Hi Mauro,

Please generate a diff and post it - it is much simpler.

in the SVN checkout you have, after modifying, to "svn diff" to get the 
patch.

Thanks and regards,
Bogdan

Mauro Davi' wrote:
>
> Hi All,
>
> I don't know if this can be a good way but for same SIP services (that 
> using the opensips serial/parallel fork features) I need to set the 
> qvalue associated to a set of AOR via script code.
>
> 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) so that 
> I can set qvalue properly. The lookup function qvalue parameter can 
> set also using script variable
>
> Attached the registrar module source code modified (I modified the 
> lookup.c, lookup.h and reg_mod.c files) related to the 1.4.5 opensips 
> version
>
> I hope that this modify can be usefull to the community.
>
> Regards,
>
> MD
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.patch
Type: application/octet-stream
Size: 5233 bytes
Desc: diff.patch
Url : http://lists.opensips.org/pipermail/devel/attachments/20090325/ab091763/attachment-0001.obj 


More information about the Devel mailing list