i started to experiment with sending PUBLISH requests using pua_mi module.
if i understood correctly from RFC 3903, PUBLISH request should contain a content-type header, such as
Content-Type: application/pidf+xml
PUBLISH request sent via pua_mi does not contain any content-type header. should one be added so that the receiver of PUBLISH request could know how to decode the body?
another question related to this is, what event packages does openser presence server support?
i assume that it supports "presence" event package (where content type usually is pidf+xml), but how about "message-summary" event package (RFC 3842) that could be used to publish message waiting events?
-- juha
I'm trying to get eyebeam/x-lite to exchange presence status with Gaim's SIMPLE function.
Using "force_active=1" allows me to see the status of the Gaim account, I still get requests that I have to answer to from Gaim about it seeing my status. And the Gaim never does.
Even with Force Active on, status is still pending in the watchers table.
Further, in the tables I see the eyebeam/x-lite account has sent a presence.winfo event while the other accounts sends a presence event. Is this the cause of Gaim not seeing the info from eyebeam/x-lite? And if so, what is broken? Gaim, OpenSER or eyebeam?!
Has anyone managed to get cross-platform presence status working? And through which clients?
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Geir O. Jensen wrote:
I'm trying to get eyebeam/x-lite to exchange presence status with Gaim's SIMPLE function.
Using "force_active=1" allows me to see the status of the Gaim account, I still get requests that I have to answer to from Gaim about it seeing my status. And the Gaim never does.
Even with Force Active on, status is still pending in the watchers table.
force_active=1 does not change the "pending" to "active", but "pending" is treated like "active".
Further, in the tables I see the eyebeam/x-lite account has sent a presence.winfo event while the other accounts sends a presence event. Is this the cause of Gaim not seeing the info from eyebeam/x-lite? And if so, what is broken? Gaim, OpenSER or eyebeam?!
presence.winfo (watcherinfo) is used if a client wants to know who has SUBSCRIBed its presence.
regards klaus
Has anyone managed to get cross-platform presence status working? And through which clients?
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hello,
You probably have not emptied database before running presence with force_active= 1. If finds a record in the table, the module takes the for the subscription from there, it beeing the previous one, and then queries xcap_xml table for eventual changes. please dump the table before running openser again. I will best make a change in the code, taking this scenario into consideration and updating the watchers table if force_active is set to 1 and prevoius record is with state pending.
Best regards,
Anca Vamanu
Klaus Darilion wrote:
Geir O. Jensen wrote:
I'm trying to get eyebeam/x-lite to exchange presence status with Gaim's SIMPLE function. Using "force_active=1" allows me to see the status of the Gaim account, I still get requests that I have to answer to from Gaim about it seeing my status. And the Gaim never does. Even with Force Active on, status is still pending in the watchers table.
force_active=1 does not change the "pending" to "active", but "pending" is treated like "active".
Further, in the tables I see the eyebeam/x-lite account has sent a presence.winfo event while the other accounts sends a presence event. Is this the cause of Gaim not seeing the info from eyebeam/x-lite? And if so, what is broken? Gaim, OpenSER or eyebeam?!
presence.winfo (watcherinfo) is used if a client wants to know who has SUBSCRIBed its presence.
regards klaus
Has anyone managed to get cross-platform presence status working? And through which clients?
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
I added updating watchers table in this scenario and commited the changes on svn.
Anca
Anca-Maria Vamanu wrote:
Hello,
You probably have not emptied database before running presence with force_active= 1. If finds a record in the table, the module takes the for the subscription from there, it beeing the previous one, and then queries xcap_xml table for eventual changes. please dump the table before running openser again. I will best make a change in the code, taking this scenario into consideration and updating the watchers table if force_active is set to 1 and prevoius record is with state pending.
Best regards,
Anca Vamanu
Klaus Darilion wrote:
Geir O. Jensen wrote:
I'm trying to get eyebeam/x-lite to exchange presence status with Gaim's SIMPLE function. Using "force_active=1" allows me to see the status of the Gaim account, I still get requests that I have to answer to from Gaim about it seeing my status. And the Gaim never does. Even with Force Active on, status is still pending in the watchers table.
force_active=1 does not change the "pending" to "active", but "pending" is treated like "active".
Further, in the tables I see the eyebeam/x-lite account has sent a presence.winfo event while the other accounts sends a presence event. Is this the cause of Gaim not seeing the info from eyebeam/x-lite? And if so, what is broken? Gaim, OpenSER or eyebeam?!
presence.winfo (watcherinfo) is used if a client wants to know who has SUBSCRIBed its presence.
regards klaus
Has anyone managed to get cross-platform presence status working? And through which clients?
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
This worked a charm... Status is now active, I've not yet verified if presence information is exchanged between my various clients though.
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
-----Original Message----- From: Anca-Maria Vamanu [mailto:anca@voice-system.ro] Sent: Tuesday, March 27, 2007 5:55 PM To: Klaus Darilion Cc: Geir O. Jensen; users@openser.org Subject: Re: [Users] PRESENCE event types?
Hello,
You probably have not emptied database before running presence with force_active= 1. If finds a record in the table, the module takes the for the subscription from there, it beeing the previous one, and then queries xcap_xml table for eventual changes. please dump the table before running openser again. I will best make a change in the code, taking this scenario into consideration and updating the watchers table if force_active is set to 1 and prevoius record is with state pending.
Best regards,
Anca Vamanu
Klaus Darilion wrote:
Geir O. Jensen wrote:
I'm trying to get eyebeam/x-lite to exchange presence status with Gaim's SIMPLE function. Using "force_active=1" allows me to see the status of the Gaim account, I still get requests that I have to answer to from Gaim about it seeing my status. And the Gaim never does. Even with Force Active on, status is still pending in the watchers table.
force_active=1 does not change the "pending" to "active", but "pending" is treated like "active".
Further, in the tables I see the eyebeam/x-lite account has sent a presence.winfo event while the other accounts sends a
presence event.
Is this the cause of Gaim not seeing the info from eyebeam/x-lite? And if so, what is broken? Gaim, OpenSER or eyebeam?!
presence.winfo (watcherinfo) is used if a client wants to
know who has
SUBSCRIBed its presence.
regards klaus
Has anyone managed to get cross-platform presence status
working? And
through which clients?
// sip:gojensen@uninett.no | h323: 004710012 pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hello,
Content-Type header should be included is Content-Length is not 0. An erronated condition was checked . I corrected it now on the devel version. Presence modules supports for now presence and presence.winfo event packages
Anca Juha Heinanen wrote:
i started to experiment with sending PUBLISH requests using pua_mi module.
if i understood correctly from RFC 3903, PUBLISH request should contain a content-type header, such as
Content-Type: application/pidf+xml
PUBLISH request sent via pua_mi does not contain any content-type header. should one be added so that the receiver of PUBLISH request could know how to decode the body?
another question related to this is, what event packages does openser presence server support?
i assume that it supports "presence" event package (where content type usually is pidf+xml), but how about "message-summary" event package (RFC 3842) that could be used to publish message waiting events?
-- juha
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Anca-Maria Vamanu writes:
Content-Type header should be included is Content-Length is not 0. An erronated condition was checked . I corrected it now on the devel version.
could you also commit to branch 1.2.
Presence modules supports for now presence and presence.winfo event packages.
what would it take to add support for "message-summary" package? i may have time to help if you give pointers to places in code that need to be modified.
in "message-summary" package, content type is
Content-Type: application/simple-message-summary
and body is just a few text line, such as
Messages-Waiting: yes Message-Account: sip:alice@vmail.example.com Voice-Message: 2/8 (0/2)
-- juha