Re: [SR-Users] issue with memcached module

2016-09-02 Thread jay binks
This appears to only impact reading from memcache. ive had a read through the code and I dont see any way to write a string to memcache with the ( memcache ) flag of 0 . INTS write as Flag 0 but all Strings are Flag 1 and I cant read a string with flag 1 in php. ( which i agree is also a bug on

Re: [SR-Users] issue with memcached module

2016-09-01 Thread Dragos Oancea
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 no

[SR-Users] issue with memcached module

2016-09-01 Thread jay binks
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