Hi David. Yes, that exactly what i want, set the variable to 0 in the main route, so every call that arrive it start the process again... The problem is that in the failure_route the variable keeps the value..and is not resetting to 0
Ricardo.-
-----Mensaje original----- De: ingdavidcespedes@cable.net.co [mailto:ingdavidcespedes@cable.net.co]
Enviado el: jueves, 13 de noviembre de 2008 16:15 Para: Ricardo Martinez CC: users@lists.kamailio.org Asunto: Re: [Kamailio-Users] Problems with counter $var(i)
Hi
In which place of your main route are you writing var(i)=0. Maybe that's the problem, each time you enter in the main route you are setting the i variable to 0.
David Cespedes