Re: [OpenSIPS-Users] is this valid naming for avps - $avp($var(i))

2011-12-16 Thread ddgiants
Works great. Thanks for the quick turn around. May have been for nothing. Now I see I can't use exec_avp in timer route. I opened another case for that. Darren -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/is-this-valid-naming-for-avps-avp-var-i-tp7099608

Re: [OpenSIPS-Users] is this valid naming for avps - $avp($var(i))

2011-12-16 Thread Razvan Crainea
Hi, Darren! There is indeed a bug there, but the patch I've attached should fix it. Can you please apply it and test again? Let me know if this solves your issue. Regards, -- Ra(zvan Crainea OpenSIPS Developer On 12/16/2011 06:47 AM, Darren DeLitizia wrote: Is this valid naming for avp's

[OpenSIPS-Users] is this valid naming for avps - $avp($var(i))

2011-12-15 Thread Darren DeLitizia
Is this valid naming for avp's - $avp($var(i)) I am trying to loop through exec_avp results as I will never know how many rows are being returned. It is in a startup route and I am using a while statement to loop through. It is not recognizing naming. $avp($avp(i)) always returns NULL while someth