Hi,
thanks, that was the missing link. It's working now.
Jonathan
________________________________
Von: sr-users-bounces(a)lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org]
Im Auftrag von Peter Dunkley
Gesendet: Montag, 30. Januar 2012 17:44
An: SIP Router "- Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing
"List
Betreff: Re: [SR-Users] Sample pua_usrloc Config Was: Enableapplication/pidf+xml
Hi,
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.
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.
Regards,
Peter
On Mon, 2012-01-30 at 17:17 +0100, Vogt, Jonathan wrote:
Hello,
great. I got presence... but only when I do not enable auth.
Is there something I have to look out for when enabling auth
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.
Apart from your changes I defined WITH_USRLOCDB, WITH_PRESENCE, WITH_AUTH, WITH_MYSQL.
No presence with auth. Presence without auth. Cleared the db in between.
Any hints
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: Freitag, 27. Januar 2012 18:07
An: SIP Router "- Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing
"List
Betreff: Re: [SR-Users] Sample pua_usrloc Config Was: Enableapplication/pidf+xml
When I am using pua_usrloc...
Modify the standard config:
...
loadmodule "usrloc.so"
loadmodule "pua.so"
loadmodule "pua_usrloc.so"
...
modparam("pua", "db_url", DBURL)
modparam("pua", "outbound_proxy", "sip:127.0.0.1")
modparam("pua_usrloc", "default_domain", "<<< whatever
the domain your system has >>>")
modparam("pua_usrloc", "entity_prefix", "sip")
...
route[REGISTRAR] {
if (is_method("REGISTER"))
{
pua_set_publish();
...
}
...
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.
Also make sure that the pua database table was created when you ran kamdbctl to set-up
the database.
Regards,
Peter
On Fri, 2012-01-27 at 15:04 +0100, Vogt, Jonathan wrote:
Hi sorry,
I guess I just got mixed up with all the name, merges, forks and mailinglists...
As I started out with openser, tried kamailio and just compiled opensips, I would
appreaciate a working sample for openser or kamailio aswell.
I just need a sip server with presence support for bravis... which for itself does not
seem to support server side presence...
Thanks
Jonathan
________________________________
Von: sr-users-bounces(a)lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] Im Auftrag von Carsten Bock
Gesendet: Freitag, 27. Januar 2012 14:55
An: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - UsersMailing List
Betreff: Re: [SR-Users] Sample pua_usrloc Config Was: Enableapplication/pidf+xml
Hi,
this is the wrong mailing list:
This Mailinglist is about OpenSER (the original), Kamailio, SER and
sip-router.org - not
OpenSIPS.
If you have problems with an OpenSIPS configuration or module, please post it to the
OpenSIPS-list.
We can only provide help for our modules.
Thank you,
Carsten
2012/1/27 Vogt, Jonathan <J.Vogt(a)swp.de>
Hello,
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.
I have take the source from
opensips.org and compiled it.
Taken the conf from
http://www.opensips.org/Resources/PuaUsrlocConfig replaced sip
domain and ip and enabled auth
Reset DB and created users
Replaced X-LITE in conf with BRAVIS useragent.
Tested and did not work...
undid step 4 and used X-LITE 4 for test... did not work either.
I'm lost here. Any help appreciated.
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 15:38
An: SIP Router "- Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing
"List
Betreff: Re: [SR-Users] Enable application/pidf+xml
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
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
_______________________________________________
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
--
Carsten Bock
CEO (Geschäftsführer)
ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany
http://www.ng-voice.com
mailto:carsten@ng-voice.com
Mobile +49 179 2021244
Office +49 40 34927219
Fax +49 40 34927220
Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/
_______________________________________________
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
_______________________________________________
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