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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

SourceForge.net
Bugs item #2173338, was opened at 2008-10-17 00:48
Message generated for change (Comment added) made by norm_brandinger
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: Closed
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: Norm Brandinger (norm_brandinger)
Date: 2008-11-03 22:32

Message:
Unable to reproduce this problem.  Will reopen if I can again reproduce it.

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

Comment By: Norm Brandinger (norm_brandinger)
Date: 2008-10-23 16:09

Message:
Hi Anca,

Thank you for taking the time to look into my problem.

I'll try to reproduce the error.  Your suggestion that the Polycom config
might be incorrect may be valid.

Can you share example settings (or perhaps explain the interaction of the
settings below) for two Polycom's configured for BLA ?  I'm currently
testing with settings listed below:

Phone1:

Address: 1000
Auth User ID: 1000
Label: 1000
Third Party Name: 1000

mac-directory.xml:
<ct>1000</ct>


Phone2:

Address: 1000
Auth User ID: 1001
Label: 1000
Third Party Name: 1000

mac-directory.xml:
<ct>1000</ct>
<ct>1001</ct>

Regards,
Norm

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

Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-10-23 15: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 15: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 11: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 11: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 11: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

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel