No subject


Tue Nov 9 16:23:08 CET 2010


Specifically, a SIP transaction consists of a single request and any
responses to
   that request, which include zero or more provisional responses and
   one or more final responses.

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).


> WBR, Anton Zagorskiy
> VoIP Developer, Oyster Telecom
> Phone.: +7 812 601-0666
> Fax: +7 812 601-0593
> a.zagorskiy at oyster-telecom.ru
> www.oyster-telecom.ru
>
>
> From: users-bounces at lists.opensips.org
> [mailto:users-bounces at lists.opensips.org] On Behalf Of mayamatakeshi
> Sent: Tuesday, November 30, 2010 4:13 PM
> To: OpenSIPS users mailling list
> Subject: Re: [OpenSIPS-Users] BYE processing and AVP
>
>
> On Tue, Nov 30, 2010 at 10:07 PM, Anton Zagorskiy
> <a.zagorskiy at oyster-telecom.ru> wrote:
> Hello.
>
> During INVITE processing I'm setting up some avp variables. When I'm
> receiving a BYE request all avps are null. Why does this happen?
> A part of the script:
>
> if (has_totag())
> {
>        if (loose_route())
>        {
>                if (is_method("BYE"))
>                {
>                        xlog("*** BYE $avp(i:2)");
>
> From the docs (http://www.opensips.org/Resources/DocsCoreVar#toc2):
>
> "AVPs are part of the transaction context, so they will be visible
> everywhere where the transaction is present. "
>
> br,
> takeshi
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

--0016365ee0e0e19148049645e067
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">2010/11/30 Anton Zagorskiy <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:a.zagorskiy at oyster-telecom.ru">a.zagorskiy at oyster-te=
lecom.ru</a>&gt;</span><br><blockquote class=3D"gmail_quote" style=3D"margi=
n: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-le=
ft: 1ex;">
Why BYE isn&#39;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 r=
esponses to<br>   that request, which include zero or more provisional resp=
onses 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&#39;t use tm functions, then you are doing=20
stateless processing and no AVP will be saved).=A0
<br><br></div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0p=
t 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=3D"im"><a href=3D"mailto:a.zagorskiy at oyster-telecom.ru">a.zagors=
kiy at oyster-telecom.ru</a><br>
</div><a href=3D"http://www.oyster-telecom.ru" target=3D"_blank">www.oyster=
-telecom.ru</a><br>
<br>
<br>
From: <a href=3D"mailto:users-bounces at lists.opensips.org">users-bounces at lis=
ts.opensips.org</a><br>
[mailto:<a href=3D"mailto:users-bounces at lists.opensips.org">users-bounces at l=
ists.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=3D"h5"><br>
<br>
On Tue, Nov 30, 2010 at 10:07 PM, Anton Zagorskiy<br>
&lt;<a href=3D"mailto:a.zagorskiy at oyster-telecom.ru">a.zagorskiy at oyster-tel=
ecom.ru</a>&gt; wrote:<br>
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>
=A0 =A0 =A0 =A0if (loose_route())<br>
=A0 =A0 =A0 =A0{<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (is_method(&quot;BYE&quot;))<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0xlog(&quot;*** BYE $avp(i:2)=
&quot;);<br>
<br>


More information about the Users mailing list