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:

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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4218/2831545237@github.com>