Hello Igor,
Strange. If not already done, you can try to set INFO loglevel to get maybe a bit more information.
How do you verify the routes, but looking to RPC output probably?
Cheers,
Henning
From: Igor Potjevlesch <igor.potjevlesch@gmail.com>
Sent: Wednesday, November 30, 2022 2:58 PM
To: Henning Westerholt <hw@gilawa.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hi Henning,
The problem is still there on the concerned instance. I tried to reload again, and I didn't see the error but the routes are not updated.
Regards,
Igor.
De : Henning Westerholt <hw@gilawa.com>
Envoyé : mercredi 30 novembre 2022 14:44
À : Igor Potjevlesch <igor.potjevlesch@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hi Igor,
ok, might be some issue with the DB, if it does not happen anymore. You probably notice when it happens again and can investigate then.
Regarding the table, just note that there is also a fourth table involved, domain_name:
https://kamailio.org/docs/db-tables/kamailio-db-5.5.x.html#idm812
Cheers,
Henning
From: Igor Potjevlesch <igor.potjevlesch@gmail.com>
Sent: Wednesday, November 30, 2022 2:35 PM
To: Henning Westerholt <hw@gilawa.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello Henning,
I tried to review all the routes. Unfortunately, I didn't have access to the logs of the last reboot and its not easy to reboot the instance.
I tried to copy the same tables (carrierroute, carrierfailureroute and carrier_name) on another instance and cr reload has been executed without any issue.
Not easy to highlight where the problem comes from.
Regards,
Igor.
De : Henning Westerholt <hw@gilawa.com>
Envoyé : mardi 29 novembre 2022 21:13
À : Igor Potjevlesch <igor.potjevlesch@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello Igor,
This is usually caused from wrong or incomplete routing data in the DB. Review if you e.g. have some missing domains or carrier entries in the respective tables.
Also look for some errors or warnings related to carrierroute at a restart.
Cheers,
Henning
From: Igor Potjevlesch <igor.potjevlesch@gmail.com>
Sent: Tuesday, November 29, 2022 6:08 PM
To: Henning Westerholt <hw@gilawa.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
Subject: RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello Henning,
That's a good point. I tried again and I could see this:
ERROR: carrierroute [cr_rpc.c:60]: cr_rpc_reload_routes(): failed to load routing data
Nothing more precise.
Regards,
Igor.
De : Henning Westerholt <hw@gilawa.com>
Envoyé : mardi 29 novembre 2022 16:12
À : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc : Igor Potjevlesch <igor.potjevlesch@gmail.com>
Objet : RE: [SR-Users] kamctl cr reload doesn't reload all routes
Hello,
any error message in the logs from carrierroute reload?
Cheers,
Henning
From: sr-users <sr-users-bounces@lists.kamailio.org>
On Behalf Of Igor Potjevlesch
Sent: Tuesday, November 29, 2022 4:04 PM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] kamctl cr reload doesn't reload all routes
Hello!
I'm facing a problem with one of my Kamailio instance: "kamctl cr reload" returns OK, but, finally, the route I modified, or I added are not takes.
I'm still on a previous route.
If I completely reboot Kamailio it's okay. So, the last time, I rebooted with more memory, and I was thinking that it could fix the problem, but not.
Do you have any idea?
Regards,
Igor.