<div dir="ltr">Thank you John and Alex for clean description.<div><br></div><div>I will test your suggestions and give feedback.</div><div><br></div><div>Sergey<br><br></div></div><br><div class="gmail_quote"><div dir="ltr">сб, 21 июл. 2018 г. в 21:40, Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Jul 21, 2018 at 02:33:45PM -0400, John Petrini wrote:<br>
<br>
> You need to use an avp or an xavp instead of a var. As far as I understand<br>
> it a var is tied to a particular thread (which will be reused) while avp's<br>
> live in shared memory and are unique to each dialog.<br>
<br>
Almost accurate. (X)AVPs are transaction-persistent, not<br>
dialog-persistent.<br>
<br>
Dialog-persistent variables are possible, though, either by using<br>
Record-Route parameters that travel around with every in-dialog request<br>
and reply, or a more stateful approach using $dlg_var:<br>
<br>
   <a href="https://www.kamailio.org/wiki/cookbooks/5.1.x/pseudovariables#dlg_var_key" rel="noreferrer" target="_blank">https://www.kamailio.org/wiki/cookbooks/5.1.x/pseudovariables#dlg_var_key</a><br>
<br>
-- Alex<br>
<br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: <a href="tel:(706)%20510-6800" value="+17065106800" target="_blank">+1-706-510-6800</a> / <a href="tel:(800)%20250-5920" value="+18002505920" target="_blank">+1-800-250-5920</a> (toll-free) <br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>