Greetings,
For some reason enum_query("") failed in our setup to properly resolve NAPTR records.
When I do a SIP INVITE to something like +41446336297@test.ethz.ch with debug=9 in ser.cfg, I get syslog entries
get_record: lookup(7.9.2.6.3.3.6.4.4.1.4, 35) failed enum_query(): No NAPTR record found for 7.9.2.6.3.3.6.4.4.1.4.
and the SIP ENUM call fails. __
However, if we apply the following unified patch
--- modules/enum.ori/enum.c Fri Sep 3 10:15:09 2004 +++ modules/enum/enum.c Fri Sep 3 12:51:37 2004 @@ -258,6 +258,8 @@
memcpy(name + j, suffix->s, suffix->len + 1);
+ strcat(name, "e164.arpa"); + head = get_record(name, T_NAPTR);
if (head == 0) {
to vanilla ser-0.8.14, all goes well.
Apparently, the domain_suffix parameter in the enum module can be set but is not automatically appended. Can someone confirm this?
Cheers,
Marcel