<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17107" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=665414115-31012012><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=665414115-31012012><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=665414115-31012012><FONT face=Arial
color=#0000ff size=2>thanks, that was the missing link. It's working
now.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=665414115-31012012><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=665414115-31012012><FONT face=Arial
color=#0000ff size=2>Jonathan</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> sr-users-bounces@lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] <B>Im Auftrag von </B>Peter
Dunkley<BR><B>Gesendet:</B> Montag, 30. Januar 2012 17:44<BR><B>An:</B> SIP
Router "- Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing
"List<BR><B>Betreff:</B> Re: [SR-Users] Sample pua_usrloc Config Was:
Enableapplication/pidf+xml<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR><BR>If by auth you mean the WITH_AUTH #!define in the
configuration file then it sounds like a configuration error. You should
check that the pua_usrloc stuff you've added isn't excluded when WITH_AUTH is
not set.<BR><BR>It is also worth remembering that, if you are using a client
that does not support server presence, or you are using a client that does
support server presence but doesn't support XCAP, then your configuration will
only work when you set the force_active modparam in presence_xml to 1.
This is because with force_active not set you need clients that can update the
pres-rules documents in the resource list to add new contacts to the allow list
before they will be authorised for
presence.<BR><BR>Regards,<BR><BR>Peter<BR><BR>On Mon, 2012-01-30 at 17:17 +0100,
Vogt, Jonathan wrote:
<BLOCKQUOTE TYPE="CITE"><FONT size=2>Hello,</FONT> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><FONT size=2>great. I got presence... but only when I
do not enable auth.</FONT> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><FONT size=2>Is there something I have to look out for
when enabling auth</FONT> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><FONT size=2>I've take the stock config for 3.2.0 as
packed in the ubuntu package from the website, implementet your changes and
reinit the database.</FONT> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><FONT size=2>Apart from your changes I defined
WITH_USRLOCDB, WITH_PRESENCE, WITH_AUTH, WITH_MYSQL. </FONT></BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><FONT size=2>No presence with auth. Presence without
auth. Cleared the db in between.</FONT> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><FONT size=2>Any hints</FONT> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><FONT size=2>Thanks</FONT> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><FONT size=2>Jonathan</FONT> </BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"> </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> Freitag, 27. Januar 2012
18:07</FONT><BR><B><FONT size=2>An:</FONT></B><FONT size=2> SIP Router "-
Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing
"List</FONT><BR><B><FONT size=2>Betreff:</FONT></B><FONT size=2> Re:
[SR-Users] Sample pua_usrloc Config Was:
Enableapplication/pidf+xml</FONT><BR><BR><BR></BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE"><BR></BLOCKQUOTE>
<BLOCKQUOTE TYPE="CITE">When I am using pua_usrloc...<BR><BR>Modify the
standard config:<BR>
<BLOCKQUOTE>...<BR>loadmodule "usrloc.so"<BR><B>loadmodule
"pua.so"</B><BR><B>loadmodule
"pua_usrloc.so"</B><BR>...<BR><B>modparam("pua", "db_url",
DBURL)</B><BR><B>modparam("pua", "outbound_proxy", "<A
href="sip:127.0.0.1">sip:127.0.0.1</A>")</B><BR><B>modparam("pua_usrloc",
"default_domain", "<<< whatever the domain your system has
>>>")</B><BR><B>modparam("pua_usrloc", "entity_prefix",
"sip")</B><BR>...<BR>route[REGISTRAR] {<BR>
<BLOCKQUOTE>if (is_method("REGISTER"))<BR>{<BR>
<BLOCKQUOTE><B>pua_set_publish();</B><BR>...<BR></BLOCKQUOTE>}<BR></BLOCKQUOTE>...<BR><BR></BLOCKQUOTE>You
need to make sure Kamailio is listening on the loopback (127.0.0.1) device on
port 5060, or change the pua outbound_proxy modparam to contain a real IP
address and port that Kamailio is using. Setting this outbound_proxy
parameter makes sure Kamailio routes the PUBLISH generated by pua/pua_usrloc
through itself (so that it can be picked up and handle_publish() is called)
instead of using DNS to try and route the request.<BR><BR>Also make sure that
the pua database table was created when you ran kamdbctl to set-up the
database.<BR><BR>Regards,<BR><BR>Peter<BR><BR>On Fri, 2012-01-27 at 15:04
+0100, Vogt, Jonathan wrote: <BR>
<BLOCKQUOTE TYPE="CITE"><FONT size=2><FONT color=#0000ff>Hi
sorry,</FONT></FONT> <BR><FONT size=2><FONT color=#0000ff>I guess I just got
mixed up with all the name, merges, forks and mailinglists...</FONT></FONT>
<BR><FONT size=2><FONT color=#0000ff>As I started out with openser, tried
kamailio and just compiled opensips, I would appreaciate a working sample
for openser or kamailio aswell.</FONT></FONT> <BR><FONT size=2><FONT
color=#0000ff>I just need a sip server with presence support for bravis...
which for itself does not seem to support server side
presence...</FONT></FONT> <BR><FONT size=2><FONT
color=#0000ff>Thanks</FONT></FONT> <BR><FONT size=2><FONT
color=#0000ff>Jonathan</FONT></FONT> <BR><BR>
<HR align=center>
<BR><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>Carsten Bock</FONT><BR><B><FONT
size=2>Gesendet:</FONT></B><FONT size=2> Freitag, 27. Januar 2012
14:55</FONT><BR><B><FONT size=2>An:</FONT></B><FONT size=2> SIP Router -
Kamailio (OpenSER) and SIP Express Router (SER) - UsersMailing
List</FONT><BR><B><FONT size=2>Betreff:</FONT></B><FONT size=2> Re:
[SR-Users] Sample pua_usrloc Config Was:
Enableapplication/pidf+xml</FONT><BR><BR><BR><BR>Hi, <BR><BR><BR>this is the
wrong mailing list: <BR>This Mailinglist is about OpenSER (the original),
Kamailio, SER and <A href="http://sip-router.org">sip-router.org</A> - not
OpenSIPS. <BR>If you have problems with an OpenSIPS configuration or module,
please post it to the OpenSIPS-list. <BR><BR><BR>We can only provide help
for our modules. <BR><BR><BR>Thank you, <BR>Carsten<BR><BR>2012/1/27 Vogt,
Jonathan <<A href="mailto:J.Vogt@swp.de">J.Vogt@swp.de</A>> <BR>
<BLOCKQUOTE><FONT color=#0000ff>Hello,</FONT> <BR><FONT
color=#0000ff>could anyone kindly send me a working config which does
support clients that not support server presence or send me a link to a
working sample configuration. I seem unable to produce a working config
myself.</FONT> <BR>
<OL type=1><FONT color=#0000ff>I have take the source from <A
href="http://opensips.org">opensips.org</A> and compiled it.</FONT>
<BR><FONT color=#0000ff>Taken the conf from <A
href="http://www.opensips.org/Resources/PuaUsrlocConfig">http://www.opensips.org/Resources/PuaUsrlocConfig</A> replaced
sip domain and ip and enabled auth</FONT> <BR><FONT color=#0000ff>Reset
DB and created users</FONT> <BR><FONT color=#0000ff>Replaced X-LITE in
conf with BRAVIS useragent.</FONT> <BR><FONT color=#0000ff>Tested and
did not work...</FONT> <BR><FONT color=#0000ff>undid step 4 and used
X-LITE 4 for test... did not work either.</FONT> <BR></OL><FONT
color=#0000ff>I'm lost here. Any help appreciated.</FONT> <BR><FONT
color=#0000ff>Thanks</FONT> <BR><FONT color=#0000ff>Jonathan</FONT>
<BR><BR>
<HR align=center>
<BR><BR><B>Von:</B> <A
href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</A>
[mailto:<A
href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</A>]
<B>Im Auftrag von </B>Peter Dunkley<BR><B>Gesendet:</B> Donnerstag, 26.
Januar 2012 15:38<BR><B>An:</B> SIP Router "- Kamailio (OpenSER) and SIP
Express Router (SER) -Users Mailing "List<BR><B>Betreff:</B> Re:
[SR-Users] Enable application/pidf+xml<BR><BR><BR><BR>Hello,<BR><BR>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.<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>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD><PRE>--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE></TD></TR></TBODY></TABLE><BR>_______________________________________________<BR>SIP
Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<BR><A
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A><BR><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><BR><BR></BLOCKQUOTE><BR><BR><BR><BR>--
<BR>Carsten Bock<BR>CEO (Geschäftsführer)<BR><BR>ng-voice
GmbH<BR>Schomburgstr. 80<BR>D-22767 Hamburg / Germany<BR><BR><A
href="http://www.ng-voice.com">http://www.ng-voice.com</A><BR>mailto:<A
href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</A><BR><BR>Mobile
+49 179 2021244<BR>Office +49 40 34927219<BR>Fax +49 40 34927220<BR><BR>Sitz
der Gesellschaft: Hamburg<BR>Registergericht: Amtsgericht Hamburg, HRB
120189<BR>Geschäftsführer: Carsten Bock<BR>Ust-ID: DE279344284<BR><BR>Hier
finden Sie unsere handelsrechtlichen Pflichtangaben:<BR><A
href="http://www.ng-voice.com/imprint/">http://www.ng-voice.com/imprint/</A><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%">
<TBODY>
<TR>
<TD><PRE>--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE></TD></TR></TBODY></TABLE><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%">
<TBODY>
<TR>
<TD><PRE>--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE></TD></TR></TBODY></TABLE></BODY></HTML>