<p dir="ltr">If you use avp db write back = 2 the avp's are kept in memory and are syncd to the database on demand or when process is idle. Avp's is does exactly that, and is across the entire dialog. Can you explain why avp's are inefficient for your use case?</p>
<div class="gmail_quote">On Oct 8, 2015 7:35 PM, "Tito Cumpen" <<a href="mailto:tito@xsvoce.com">tito@xsvoce.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Group,<div><br></div><div>I was wondering if there is such a thing as a session flag? What I mean by this is can a flag be stored and checked against the entire session in memory and not a single transaction like setflag. I've considered using an avp for this but I understand it would add a considerable load. I am having an issue dealing with reinvites in respects to rtpengine since the original transaction invite flags don't apply during a reinvite. Alternatively another route could be used during lr and to tag but I'll still have a hard time differentiating the type of call identified on initial invite and the media params I need to apply during a reinvite of this type. If anyone has any ideas please advise.</div><div><br></div><div><br>Thanks,</div><div>Tito</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>