[OpenSIPS-Devel] [ opensips-Bugs-2173338 ] ERROR pua_bla: bla_handle_notify() content length= 0

SourceForge.net noreply at sourceforge.net
Thu Oct 23 17:44:47 CEST 2008


Bugs item #2173338, was opened at 2008-10-17 03:48
Message generated for change (Comment added) made by anca_vamanu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2173338&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Norm Brandinger (norm_brandinger)
Assigned to: Anca Vamanu (anca_vamanu)
Summary: ERROR pua_bla: bla_handle_notify() content length= 0

Initial Comment:
First time implementation of BLA (using Polycom phone) using the published documentation as a guide.

The bla_handle_notify() call, throws the following error:

ERROR:pua_bla:bla_handle_notify: content length= 0

This problem was also previously reported as noted in the following post:

http://www.nabble.com/pua_bla-and-presence-td18538692.html

----------------------------------------------------------------------

>Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-10-23 18:44

Message:
Hi Norm,

I checked and indeed I have designed the pua_bla module not accept
Notifies with content length 0. Now, I am not sure if this is a bug or if
there really should not be Notifies with no body. 
I see no reference to when a Notify with no body can be sent in general
Event Notification RFC 3265 or in draft-bla-anil-sip-03 after which pua_bla
module is implemented. The only mention of a Notify without a body is in
RFC 3856 for event presence:
  If the resource has no meaningful state at the time that the SUBSCRIBE
message is
   processed, this NOTIFY message MAY contain an empty or neutral body.
   
Anyhow, logically I don't see any case in which a UA might send a Notify
for dialog;sla without any body. It is not difficult to remove this
restriction in the server, but I don't see a reason why I should receive
Notifies with no body. 
Since I have tested a lot with Polycom phones I wonder how come I have not
seen this. Can you please reproduce this and capture the notify you get
this error with?
I am also thinkig there might be something in your configuration. Please
check to have your processing as in the example here
http://openser.org/index.php?n=Resources.PuaBlaConfig .

regards,
Anca

----------------------------------------------------------------------

Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-10-23 18:44

Message:
Hi Norm,

I checked and indeed I have designed the pua_bla module not accept
Notifies with content length 0. Now, I am not sure if this is a bug or if
there really should not be Notifies with no body. 
I see no reference to when a Notify with no body can be sent in general
Event Notification RFC 3265 or in draft-bla-anil-sip-03 after which pua_bla
module is implemented. The only mention of a Notify without a body is in
RFC 3856 for event presence:
  If the resource has no meaningful state at the time that the SUBSCRIBE
message is
   processed, this NOTIFY message MAY contain an empty or neutral body.
   
Anyhow, logically I don't see any case in which a UA might send a Notify
for dialog;sla without any body. It is not difficult to remove this
restriction in the server, but I don't see a reason why I should receive
Notifies with no body. 
Since I have tested a lot with Polycom phones I wonder how come I have not
seen this. Can you please reproduce this and capture the notify you get
this error with?
I am also thinkig there might be something in your configuration. Please
check to have your processing as in the example here
http://openser.org/index.php?n=Resources.PuaBlaConfig .

regards,
Anca

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-10-22 14:47

Message:
This error happened using OpenSIPS trunk.

There wasn't alot of information related to this error.  The URL I added
to the ticket appeared to be similar. Will run some tests later today.

Regards,
Norm

----------------------------------------------------------------------

Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-10-22 14:41

Message:
Hi Norm,

What version of pua_bla are you using? OpenSIPS release 1.4.2 or trunk?
There were quite a lot of changes made from OpenSER 1.3.2 and I would
suggest using OpenSIPS.

regards,
Anca Vamanu

----------------------------------------------------------------------

Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-10-22 14:39

Message:
Hi Norm,

What version of pua_bla are you using? OpenSIPS release 1.4.2 or trunk?
There were quite a lot of changes made from OpenSER 1.3.2 and I would
suggest using OpenSIPS.

regards,
Anca Vamanu

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2173338&group_id=232389



More information about the Devel mailing list