[OpenSIPS-Users] Proposal for change in add_diversion function

Saúl Ibarra Corretgé saul at ag-projects.com
Tue May 29 15:40:24 CEST 2012


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






More information about the Users mailing list