Hello,
the creating of the dns container was relying on using the $dns() variable somewhere in the config (could be after dns_query()), because the purpose of dns_query() was to fill the variable.
I pushed a patch to create the container even if the variable is not used.
Cheers,
Daniel
Hello guys,
simply using the var right before the function made the error go away:
xlog("L_DBG", "--- SCRIPT: DNS <$dns(xyz=>count)>\n");
if(dns_query("$du", "xyz"))
Thanks everyone!
On Fri, May 6, 2022 at 10:58 AM David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello guys,
I'm trying to use:
if(dns_query("$du", "xyz"))
And all I get is
dns_update_pv(): container not found: xyz
Any ideas? I'm not really sure what that means. I know there's supposed to be a $dns(xyz) but it looks like it's not there? I'm using 5.0 BTW.
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online * https://www.asipto.com/sw/kamailio-advanced-training-online/