Hi,
no we don't need to change any code level.
but in your script just remove the return with negative code.
you probably have in your script
failure_route[MY_FAILURE]{
........
return -5; // <-- you probably have this. remove this instruction
return route[ANOTHER_ROUTE] // <-- or you have this flavour . remove the return instruction.
}
you should remove any return instruction present in faillure_route.
its not useful to have a return instruction in a faillure_route.
De : satyaprakash ch <chiramchetty.satyaprakash@gmail.com>
Envoyé : mercredi 11 octobre 2023 07:27
À : Patrick Karton <patrickarton@hotmail.com>
Cc : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Objet : Re: [SR-Users] ERROR: run_top_route
Hi,
Thanks for the reply,
What if we would get a negative value, Do we need to change any code level,
Will you please suggest what we need to do to resolve this?
Waiting for your reply.
Hi,
Thanks for the reply,
What if we would get a negative value, Do we need to change any code level,
Will you please suggest what we need to do to resolve this?
Hi,
Probably because you are returning negative value in this failure_route
Hi,
We are having an error in the Kamailio logs which we need to resolve this issue,
ERROR is :: /usr/local/sbin/kamailio[10149]: ERROR: tm [t_reply.c:1081]: run_failure_handlers(): error running run_top_route for failure handler.
We are getting this error at the time of the 3xx response, Can anyone help me on this?
Thank you.