[SR-Users] issue with memcached module

jay binks jaybinks at gmail.com
Fri Sep 2 03:45:34 CEST 2016


if I use the memached module in kamailio to set STRING data in memcache,
this is not readable from PHP.

This is because kamailio uses the "val_flag" to distinguish the type of
data ( int or string ).

There does not appear to be a standard for how data type is indicated ( in
fact the protocol doc for memcache says "<flags> is an arbitrary 16-bit
unsigned integer" )

I think the memcache module really needs a way to let the user specify the
value of the flag.
something like a modparam to override the flag value on every set.

has anyone else run in to this ?

Sincerely

Jay Binks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160902/4d7894e3/attachment.html>


More information about the sr-users mailing list