Hello,
Presence module does support xpidf type. What I am guessing is that you
have not set the force_active parameter to 1.
This is why the Notify messages have no body.
Set the parameter in your configuration file and try again.
regards,
Anca Vamanu
Curt Moore wrote:
Hello all.
I've been experimenting with the new presence module in openser-1.2
and have a few questions which hopefully someone can help answer.
I'm using an SVN checkout of the 1.2 branch, r2237, and am testing
with Polycom SoundPoint IP phones, firmware 2.1.1.0052.
From what I can tell, openser 1.2 does not fully
support the xpidf
content type, it only supoorts the winfo content type. I've looked
through the code for the presence module extensively and it appears
that whenever a SUBSCRIBE comes in where the Event header is simply
"Event: presence" and the Accept header is "Accept:
application/xpidf+xml", the message is acceped and a 202 is sent in
reply but in any NOTIFY sent from openser as a result, there is no
message body and the message does not contain the XML information for
pidf.
Just as a test, I changed the event field in active_watchers to
"presence.winfo" and noticed that with this change, openser generates
a NOTIFY with a message body which contains watcherinfo. This, of
course, generates a 481 from the phone since it does not know about
the "Event: presence.winfo" event type.
Also as a test, I tried to use the pa module as I'd had success with
this module in the past since it _does_ support xpidf. In 1.2 it
appears that the database structure specified in the databse setup
scripts does not agree with the table structure being used in the
module. As a result, I could not get the pa module to work either.
Am I overlooking some small detail?
Please let me know if further information is needed in order to help
diagnose and resolve this issue.
Cheers,
-Curt
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users