Hi,
I am trying to invoke unum lookups from calls to enum_query() ,is_from_user_enum() and enum_pv_query(). However we are not seeing any enum lookups over the wire using wireshark.
In the Kamailio.cfg the following are set:
loadmodule "enum" modparam("enum", "domain_suffix", "mydnsserver.org.") modparam("enum", "i_enum_suffix", " mydnsserver.org.")
sample use in our Kamailio.cfg file:
if(!enum_query("mydnsserver.org.")) { xlog("....); #do something } else { Xlog("....") #do something else }
I do see NAPTR lookups being done by the other Kamailio IMS processes initially when it starts up so I know it has connectivity to the DNS server, but none for the invoked enum queries.
We are running Kamailio 5.2.2.
Thanks, Martin
Hello Martin,
do you see any errors in the log file during the time that you execute the enum_query? Have you tried to test it with activated debug logging?
Cheers,
Henning
Am 10.01.20 um 17:57 schrieb Woscek, Martin W.: Hi,
I am trying to invoke unum lookups from calls to enum_query() ,is_from_user_enum() and enum_pv_query(). However we are not seeing any enum lookups over the wire using wireshark.
In the Kamailio.cfg the following are set:
loadmodule "enum" modparam("enum", "domain_suffix", "mydnsserver.org.") modparam("enum", "i_enum_suffix", " mydnsserver.org.")
sample use in our Kamailio.cfg file:
if(!enum_query("mydnsserver.org.")) { xlog(“….); #do something } else { Xlog(“….”) #do something else }
I do see NAPTR lookups being done by the other Kamailio IMS processes initially when it starts up so I know it has connectivity to the DNS server, but none for the invoked enum queries.
We are running Kamailio 5.2.2.
Thanks, Martin
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com Kamailio Merchandising - https://skalatan.de/merchandising/