[OpenSIPS-Users] ACC extra variables

2010-03-19 Thread Brad Bendy
Hi List, I ran into something interesting today (have not noticed this in the past anyways). We set a extra variable in the acc table for the gatewayId, we pull these values from a memcache store, with some recent changes in our code we now sometimes hit memcache twice for a gatewayId the second

Re: [OpenSIPS-Users] ACC extra variables

2010-03-20 Thread Brett Nemeroff
Memcache fetch brings the data in as a string. Is the first pull a string and is the database type a string? Pehaps converting it to an int may help? -Brett On Mar 19, 2010, at 7:25 PM, Brad Bendy wrote: > Hi List, > > I ran into something interesting today (have not noticed this in the > pa

Re: [OpenSIPS-Users] ACC extra variables

2010-03-21 Thread Bogdan-Andrei Iancu
Hi Brad, just to be bring some light, try to bring the cached values (via memcache_fetch() ) in separate values and print them on the spot (after the fetch). This will clarify if it is an issue with memcache code or if it an error in handling the variables. Regards, Bogdan Brad Bendy wrote: