Hi List
I finally upgraded from Asterisk 16 to 22 and used the opportunity (no Macros anymore) to redo most of the configuration.
What is the purpose of the config file enum.conf?
It looks like you should be able to add domains on which ENUMLOOKUP performs NAPTR lookup in the defined search order.
But my tests reveal, ENUMLOOKUP does not seem to respect this config file in any way, if not enum domain is passed as a parameter to ENUMLOOKUP it sends it request to e164.arpa no matter what is in that file. So you can not use ENUMLOOKUP without specifying a domain and you have to call ENUMLOOKUP once per domain you want to perform a NAPTR request to. So that config file has no use at all, right?
ENUMLOOKUP method defaults to ‘pjsip’?
First I did not specify a method hoping that ENUMLOOKUP would get all records and the select sip or iax or whatever was available. But it did not even return and URI for the ‘sip’ method. I wonder as I guess ‘pjsip’ is not a method anyone would publish in e164.arpa, e164.org, e164.ch etc. Only when I specified method ‘sip’ I got a reply, but this again means I have to perform a lookup for each method. Same applies to ENUMQUERY Isn’t there one lookup returning all methods in one go?
-Benoît-