On 05/03/15 21:21, Juha Heinanen wrote:
Alex Balashov writes:
1. Why was this limit of 15 introduced? Is there
some basis for it in
the ENUM spec or in the way DNS works?
if i remember correctly, 15 is the max
length of itu specified e.164
numbers that enum module is dealing with.
as I remembered changing some things related to the max length, I
checked the history and indeed the internal size was increased from 17
to 22 (perhaps the 2 is overhead for + and ending 0 for char*).
The patch came from a German company, because Germany has variable
length for phone numbers. Apparently 20 is the max size known so far.
I updated the docs to match the code.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany -
http://www.kamailioworld.com