Re: [OpenSIPS-Users] Proposal for change in add_diversion function

2012-05-30 Thread Saúl Ibarra Corretgé
Here is the patch: https://sourceforge.net/tracker/?func=detailatid=1086412aid=3530821group_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

[OpenSIPS-Users] Proposal for change in add_diversion function

2012-05-29 Thread Saúl Ibarra Corretgé
Hi all, I'd like to make a change to the add_diversion function of the diversions module and I'd like some feedback, in case my proposed change could cause trouble to anyone. Right now the aforementioned function inserts the original request URI of the message as the indication of who made

Re: [OpenSIPS-Users] Proposal for change in add_diversion function

2012-05-29 Thread Rudy
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. Regards, --Rudy Dynamic Packet

Re: [OpenSIPS-Users] Proposal for change in add_diversion function

2012-05-29 Thread Saúl Ibarra Corretgé
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