<div dir="ltr"><div>My study case concerns transfers and forwards calls, essentially.<br><br></div>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).<br>
<div><div><div class="gmail_extra"><br></div><div class="gmail_extra">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).<br></div><div class="gmail_extra">
<br>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.<br>
</div><div class="gmail_extra"><br></div><div>if you have any idea ?<br><br><br><b>Samuel MULLER</b><font size="1"><br><b>L33 NETWORKS</b><br><a href="mailto:sml@l33.fr" target="_blank">sml@l33.fr</a></font></div><div class="gmail_extra">
<br><br><pre>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 Developer
<a href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
<br><br><br></pre><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 12:18 PM, Samuel Muller <span dir="ltr"><<a href="mailto:sml@l33.fr" target="_blank">sml@l33.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div>Hello,<br><br></div>I would like to know if there's any dynamic way to create new keys, (based on variables) in Redis ?<br><br></div>something like this :<br><div> cache_store("redis","$fu","$avp(infos)");<br>
</div><div>that I can retrieve later in other dialogs ...<br></div><div><br></div><div>and maybe extend this with list (sorted or not, as Redis knows), using "while" and others "csv.count" kind of functions ?<br>
</div><div><br></div><div>Thanks !<span class=""><font color="#888888"><br><br clear="all"></font></span></div><span class=""><font color="#888888"><div><div><div><div><br><b>Samuel MULLER</b><br><font size="1"><b>L33 NETWORKS</b><br>
<a href="mailto:sml@l33.fr" target="_blank">sml@l33.fr</a><br></font></div>
</div></div></div></font></span></div>
</blockquote></div><br></div></div></div></div>