[OpenSIPS-Users] Proposal for change in add_diversion function

Saúl Ibarra Corretgé saul at ag-projects.com
Wed May 30 16:54:08 CEST 2012


Here is the patch: https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3530821&group_id=232389

On May 29, 2012, at 3:40 PM, Saúl Ibarra Corretgé wrote:

> Hi,
> 
> On May 29, 2012, at 2:47 PM, Rudy wrote:
> 
>> Saul,
>> 
>> The new behavior would indeed be desirable in cases such as enum. Another solution might be to add an optional parameter to add_diversion for using the newly rewritten ruri. This may work more fluidly with older code that relies on the current behavior.
>> 
> 
> Indeed, this, could be another choice. To summarize:
> 
> 1. Modify add_diversion to get the most current RURI
> 2. Add an AVP which if set is used instead of the original RURI
> 3. Add a new parameter to add_diversion, with the URI to be used instead of the original RURI
> 
> 
> Thanks for the feedback Rudy!
> 
> --
> Saúl Ibarra Corretgé
> AG Projects
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

--
Saúl Ibarra Corretgé
AG Projects






More information about the Users mailing list