Hello,
I think that force_active affects the state of the SUBSCRIBE dialogs.
So, a presentity does not have to explicitly authorise a watcher. This
is not the same as automatically PUBLISH'ing presence state. I don't
believe force_active will do what you want here as it has nothing to do
with the body of the NOTIFY, just the Subscription-State: SIP header.
Also, I think the problem could be that X-Lite supports peer-to-peer
presence (where the clients exchange SUBSCRIBEs and NOTIFYs) but does
not support server presence (where the SUBSCRIBEs are from the client to
the server, NOTIFYs are from the server to the client, and the client
must PUBLISH to the server).
If you want the server to automatically PUBLISH for a client that does
not support server presence (so online when you REGISTER and offline
when you un-REGISTER) take a look a pua_usrloc.
Regards,
Peter
On Thu, 2012-01-26 at 15:27 +0100, Vogt, Jonathan wrote:
Hi,
but I've understood correctly. I only need kamailio and no other
software if I use the force_active switch?
Thanks
Jonathan
______________________________________________________________________
Von: sr-users-bounces(a)lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] Im Auftrag von Peter
Dunkley
Gesendet: Donnerstag, 26. Januar 2012 14:36
An: SIP Router "- Kamailio (OpenSER) and SIP Express Router (SER)
-Users Mailing "List
Betreff: Re: [SR-Users] Enable application/pidf+xml
Hi,
I am afraid I am not familiar with the configuration of those clients
for presence.
What should happen is that the client should PUBLISH at around the
same time as you REGISTER. When you change your presence information
(online/offline/busy, or your status message, or your avatar) the
client should send another PUBLISH updating your presentity.
When Kamailio receives the PUBLISH you should detect this and call
handle_publish() (in the presence module). It is handle_publish()
that populates the presentity table.
Regards,
Peter
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd