My study case concerns transfers and forwards calls, essentially. I need to retrieve after a REFER or 30x Moved a few information about who's who, due to the networks architecture here (VRFs stuff).
I think yet that it could be interesting to store infos in a list (sorted or not) as Redis can do basically (RPUSH/LPUSH/LRANGE and so on). I cannot just set as a key "forward" and then add callid - even if a PV is used ... because after a REFER, it's a new dialog with new UAs inside, and if it's working for 1 tranfer or forward, it's not working when they're many. if you have any idea ? *Samuel MULLER* *L33 NETWORKS* [email protected] Hello, What is your usage case, more exactly, that doesn't work at the moment ? Something like cache_store("redis","$fu","$avp(infos)"); should work now. Best Regards, Vlad Paiu OpenSIPS Developerhttp://www.opensips-solutions.com On Tue, Sep 17, 2013 at 12:18 PM, Samuel Muller <[email protected]> wrote: > Hello, > > I would like to know if there's any dynamic way to create new keys, (based > on variables) in Redis ? > > something like this : > cache_store("redis","$fu","$avp(infos)"); > that I can retrieve later in other dialogs ... > > and maybe extend this with list (sorted or not, as Redis knows), using > "while" and others "csv.count" kind of functions ? > > Thanks ! > > > *Samuel MULLER* > *L33 NETWORKS* > [email protected] >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
