[SR-Users] Re: ERROR: run_top_route

2023-10-17 Thread satyaprakash ch via sr-users
Hi, Now the error was not coming, Do you recommend making changes to the code as you have described? On Fri, Oct 13, 2023 at 6:53 PM Patrick Karton wrote: > Hi, > > ok from kamailio source code, i see that the returned value of last > function called in failure route is also taken also as

[SR-Users] Re: ERROR: run_top_route

2023-10-13 Thread Patrick Karton via sr-users
Hi, ok from kamailio source code, i see that the returned value of last function called in failure route is also taken also as value so that's why you have that log error. you have to find why t_relay() return -1 or you can also do this failure_route["serial"] { if (!t_next_contacts()) {

[SR-Users] Re: ERROR: run_top_route

2023-10-13 Thread satyaprakash ch via sr-users
HI, failure_route[MANAGE_FAILURE] { if (t_check_status("3[0-9][0-9]")) { get_redirects("3:3"); t_load_contacts(); t_next_contacts(); $tu = $ru; t_on_failure("serial"); t_relay(); exit; } } failure_route["serial"] { if (!t_next_contacts()) { exit; } t_on_failure("serial"); $tu = $ru;

[SR-Users] Re: ERROR: run_top_route

2023-10-11 Thread Patrick Karton via sr-users
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] // <--

[SR-Users] Re: ERROR: run_top_route

2023-10-11 Thread satyaprakash ch via sr-users
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. On Mon, Oct 9, 2023 at 11:45 AM satyaprakash ch < chiramchetty.satyaprak...@gmail.com> wrote: > Hi, > >

[SR-Users] Re: ERROR: run_top_route

2023-10-09 Thread satyaprakash ch via sr-users
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? On Wed, Sep 27, 2023 at 9:26 PM Patrick Karton wrote: > Hi, > > Probably because you are returning negative value in this

[SR-Users] Re: ERROR: run_top_route

2023-09-27 Thread Patrick Karton via sr-users
Hi, Probably because you are returning negative value in this failure_route De : satyaprakash ch via sr-users Envoyé : mercredi 27 septembre 2023 06:45 À : Kamailio (SER) - Users Mailing List Cc : satyaprakash ch Objet : [SR-Users] ERROR: run_top_route Hi, We

[SR-Users] Re: ERROR: run_top_route

2023-09-27 Thread Daniel-Constantin Mierla via sr-users
Hello, On 27.09.23 07:45, satyaprakash ch via sr-users wrote: > 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