[SR-Users] dns_query container no found

David Villasmil david.villasmil.work at gmail.com
Fri May 6 12:19:42 CEST 2022


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: david.villasmil.work at gmail.com
phone: +34669448337


On Fri, May 6, 2022 at 10:58 AM David Villasmil <
david.villasmil.work at 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.
>
> Thanks all & Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220506/f1b484c2/attachment.htm>


More information about the sr-users mailing list