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!

Regards,

David Villasmil
email: [email protected]
phone: +34669448337


On Fri, May 6, 2022 at 10:58 AM David Villasmil <
[email protected]> 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.
>
> Thanks all & Regards,
>
> David Villasmil
> email: [email protected]
> phone: +34669448337
>
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
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

Reply via email to