<br><div class="gmail_quote">On Tue, Nov 30, 2010 at 10:07 PM, Anton Zagorskiy <span dir="ltr">&lt;<a href="mailto:a.zagorskiy@oyster-telecom.ru">a.zagorskiy@oyster-telecom.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello.<br>
<br>
During INVITE processing I&#39;m setting up some avp variables. When I&#39;m<br>
receiving a BYE request all avps are null. Why does this happen?<br>
A part of the script:<br>
<br>
if (has_totag())<br>
{<br>
        if (loose_route())<br>
        {<br>
                if (is_method(&quot;BYE&quot;))<br>
                {<br>
                        xlog(&quot;*** BYE $avp(i:2)&quot;);<br></blockquote><div><br>From the docs (<a href="http://www.opensips.org/Resources/DocsCoreVar#toc2">http://www.opensips.org/Resources/DocsCoreVar#toc2</a>):<br>
<br>&quot;AVPs are part of the transaction context, so they will be visible everywhere where the transaction is present. &quot;<br><br>br,<br>takeshi<br><br></div></div><br>