Why BYE isn't a part of the transaction?





WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
[email protected]
www.oyster-telecom.ru


From: [email protected]
[mailto:[email protected]] 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
<[email protected]> 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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to