<br><div class="gmail_quote">2010/11/30 Anton Zagorskiy <span dir="ltr"><<a href="mailto:a.zagorskiy@oyster-telecom.ru">a.zagorskiy@oyster-telecom.ru</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Why BYE isn't a part of the transaction?<br></blockquote><div><br>From RFC3261:<br>
<pre>Specifically, a SIP transaction consists of a single request and any responses to<br> that request, which include zero or more provisional responses and<br> one or more final responses.</pre>
But when opensips docs say transaction, it is also implying that you are
using module tm (if you don't use tm functions, then you are doing
stateless processing and no AVP will be saved).
<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
WBR, Anton Zagorskiy<br>
VoIP Developer, Oyster Telecom<br>
Phone.: +7 812 601-0666<br>
Fax: +7 812 601-0593<br>
<div class="im"><a href="mailto:a.zagorskiy@oyster-telecom.ru">a.zagorskiy@oyster-telecom.ru</a><br>
</div><a href="http://www.oyster-telecom.ru" target="_blank">www.oyster-telecom.ru</a><br>
<br>
<br>
From: <a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><br>
[mailto:<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>] On Behalf Of mayamatakeshi<br>
Sent: Tuesday, November 30, 2010 4:13 PM<br>
To: OpenSIPS users mailling list<br>
Subject: Re: [OpenSIPS-Users] BYE processing and AVP<br>
<div><div></div><div class="h5"><br>
<br>
On Tue, Nov 30, 2010 at 10:07 PM, Anton Zagorskiy<br>
<<a href="mailto:a.zagorskiy@oyster-telecom.ru">a.zagorskiy@oyster-telecom.ru</a>> wrote:<br>
Hello.<br>
<br>
During INVITE processing I'm setting up some avp variables. When I'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("BYE"))<br>
{<br>
xlog("*** BYE $avp(i:2)");<br>
<br>
>From the docs (<a href="http://www.opensips.org/Resources/DocsCoreVar#toc2" target="_blank">http://www.opensips.org/Resources/DocsCoreVar#toc2</a>):<br>
<br>
"AVPs are part of the transaction context, so they will be visible<br>
everywhere where the transaction is present. "<br>
<br>
br,<br>
takeshi<br>
<br>
<br>
<br>
</div></div>_______________________________________________<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>