[SR-Users] storing vars in htable

David Villasmil david.villasmil.work at gmail.com
Sat Oct 5 03:44:57 CEST 2019


Hello guys,

I'm storing some data in an htable, like so:

$var(http_query) =
"/default/en_US/send.html?u=user&p=pass&l=$var(next_channel)&n=$var(to)&m=$var(message)";

then i need to store it:

$sht(http_requests=>$http_req_id) = $var(http_query);

But what's stored is the actual vars, not the the values, it's stored like:

sh store:
/default/en_US/send.html?u=user&p=pass&l=$var(next_channel)&n=$var(to)&m=$var(message)

Why is that? shouldn't the vars be parsed?

Thanks

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/20191005/2a73277d/attachment.html>


More information about the sr-users mailing list