Hi,
I'm in a process of long overdue update of kamailio from 4.3 to 5.5, after update i can not start kamailio casue:
Mar 24 07:30:13 DEV-SBC-FE1 /usr/sbin/kamailio[22768]: INFO: carrierroute [cr_data.c:456]: add_route(): adding prefix TR, prob 1.000000 Mar 24 07:30:13 DEV-SBC-FE1 /usr/sbin/kamailio[22768]: INFO: carrierroute [cr_data.c:469]: add_route(): found carrier and domain, now adding route Mar 24 07:30:13 DEV-SBC-FE1 /usr/sbin/kamailio[22768]: ERROR: carrierroute [cr_domain.c:166]: add_route_to_tree(): cannot insert route flags into d-trie Mar 24 07:30:13 DEV-SBC-FE1 /usr/sbin/kamailio[22768]: ERROR: <core> [dtrie.c:138]: dtrie_insert(): cannot insert non-numerical character Mar 24 07:30:13 DEV-SBC-FE1 /usr/sbin/kamailio[22768]: ERROR: carrierroute [cr_data.c:179]: reload_route_data(): could not load routing data Mar 24 07:30:13 DEV-SBC-FE1 /usr/sbin/kamailio[22768]: ERROR: carrierroute [carrierroute.c:240]: mod_init(): could not prepare route data
I know that string TR is non-numeric data ;) but i have thoes routes deep in my infrastructure logic so i just can not change them to some numbers, is there any way i can resolve this without changeing routes in my whole infrastrucure (almost 50 servers)?
Please help :)
Hello,
give this parameter a try:
https://kamailio.org/docs/modules/5.5.x/modules/carrierroute.html#idm173
If it also not works with this parameter set to 128 and its used to work on 4.3, its probably a code regression. Please open an issue on our GitHub tracker about it then.
Cheers,
Henning
Thanks, that worked :) , i've must missed that parameter during initial config.
BR, AŁ.
W dniu 24.03.2022 o 08:07, Henning Westerholt pisze:
Hello,
give this parameter a try:
https://kamailio.org/docs/modules/5.5.x/modules/carrierroute.html#idm173
If it also not works with this parameter set to 128 and its used to work on 4.3, its probably a code regression. Please open an issue on our GitHub tracker about it then.
Cheers,
Henning
Great, thanks for the feedback.
Henning
-----Original Message----- From: Arek Łazarczyk arek@lazarczyk.org.pl Sent: Thursday, March 24, 2022 8:42 AM To: Henning Westerholt hw@gilawa.com; Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] carrierroute with non-numeric characters
Thanks, that worked :) , i've must missed that parameter during initial config.
BR, AŁ.
W dniu 24.03.2022 o 08:07, Henning Westerholt pisze:
Hello,
give this parameter a try:
https://kamailio.org/docs/modules/5.5.x/modules/carrierroute.html#idm1 73
If it also not works with this parameter set to 128 and its used to work on 4.3, its probably a code regression. Please open an issue on our GitHub tracker about it then.
Cheers,
Henning
-- Arek Łazarczyk