[SR-Users] issue with memcached module

Dragos Oancea dragos.oancea at athonet.com
Fri Sep 2 08:03:59 CEST 2016


Hi Jay,

Have you tried this ?
modparam("memcached", "stringify", 1)
http://www.kamailio.org/docs/modules/4.4.x/modules/memcached.html#memcached.p.stringify

Cheers,
Dragos

On 02/09/2016 03:45, jay binks wrote:
> 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
> 
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 



More information about the sr-users mailing list