<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Hello,<BR>
<BR>
I think that force_active affects the state of the SUBSCRIBE dialogs.&nbsp; So, a presentity does not have to explicitly authorise a watcher.&nbsp; This is not the same as automatically PUBLISH'ing presence state.&nbsp; 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.<BR>
<BR>
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).<BR>
<BR>
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.<BR>
<BR>
Regards,<BR>
<BR>
Peter<BR>
<BR>
<BR>
On Thu, 2012-01-26 at 15:27 +0100, Vogt, Jonathan wrote:
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="2"><FONT COLOR="#0000ff">Hi,</FONT></FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    &nbsp;
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="2"><FONT COLOR="#0000ff">but I've understood correctly. I only need kamailio and no other software if I use the force_active switch?</FONT></FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    &nbsp;
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="2"><FONT COLOR="#0000ff">Thanks</FONT></FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="2"><FONT COLOR="#0000ff">Jonathan</FONT></FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    
<HR ALIGN="center">
<BR>
    <B><FONT SIZE="2">Von:</FONT></B><FONT SIZE="2"> sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] </FONT><B><FONT SIZE="2">Im Auftrag von </FONT></B><FONT SIZE="2">Peter Dunkley</FONT><BR>
    <B><FONT SIZE="2">Gesendet:</FONT></B><FONT SIZE="2"> Donnerstag, 26. Januar 2012 14:36</FONT><BR>
    <B><FONT SIZE="2">An:</FONT></B><FONT SIZE="2"> SIP Router &quot;- Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing &quot;List</FONT><BR>
    <B><FONT SIZE="2">Betreff:</FONT></B><FONT SIZE="2"> Re: [SR-Users] Enable application/pidf+xml</FONT><BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Hi,<BR>
    <BR>
    I am afraid I am not familiar with the configuration of those clients for presence.<BR>
    <BR>
    What should happen is that the client should PUBLISH at around the same time as you REGISTER.&nbsp; 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.<BR>
    <BR>
    When Kamailio receives the PUBLISH you should detect this and call handle_publish() (in the presence module).&nbsp; It is handle_publish() that populates the presentity table.<BR>
    <BR>
    Regards,<BR>
    <BR>
    Peter<BR>
    <BR>
<PRE>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<A HREF="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>