flantel left a comment (kamailio/kamailio#4218)
> At a quick look, it does not seem to be a limit in code for the length of the
> prefix. Is the column type varchar and longer enough to accommodate what you
> introduce? What you get when you route:
>
> *
> https://www.kamailio.org/docs/modules/stable/modules/prefix_route.html#prefixroute.dump
>
> Are the records looking ok?
Hi Daniel,
Thanks for the reply
I originally had the prefix field as varchar 32. The number I am entering is
NNNNNNNNNNNN (12 digits).
When running prefix_route.dump it showed correctly all the numbers in the tree.
However, the route would not be detected.
If I delete the last digit, making it only 11 digits, it works fine.
As a workaround I truncate any prefix added to 11 digits. I couldn't see
anywhere in the code limiting prefix length either.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4218#issuecomment-2831545237
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4218/2831545...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!