[SR-Users] Enable application/pidf+xml

Vogt, Jonathan J.Vogt at swp.de
Thu Jan 26 14:03:51 CET 2012


Hello all,
 
I'm trying to set up kamailio as a sip server with
presence support for Bravis.
 
So far I got the call processing
running on either openser-1.3.2-3build1 or 3.2.0+lucid1 running.
Problem is the notification is not using Content-Type: 
application/pidf+xml

My openser config is at http://pastebin.ca/2106401

My kamailio config is pretty much a stock configuration. 
It is at http://pastebin.ca/2106404 I enabled mysql and 
presence.

I also tried using x-lite but there is no
presence information either. 
modparam("presence_xml", "force_active", 1) did not seem to make
a difference. (I cleaned my watchers table)

I can see the database has the information but the notify packets
are just like this:

NOTIFY sip:2001 at 10.0.76.0:56239 SIP/2.0
Via: SIP/2.0/UDP 10.0.10.23;branch=z9hG4bKcb76.b2dab2d4.0
To: sip:2001 at sip.intern.domain;tag=90cd05fe2b0619108127da16a6e721e1
From: sip:2002 at sip.intern.domain;tag=10.785.1327490724.1
CSeq: 22
NOTIFY
Call-ID: 90cd05fe-2b06-1910-9660-da16a6e721e1
Content-Length: 0
User-Agent: OpenSER (1.3.2-notls (i386/linux))
Max-Forwards: 70
Event: presence
Contact: <sip:10.0.10.23:5060>
Subscription-State: active;expires=300



Where is my mistake. As I'm new to kamailio please bear with me,
if I just didn't find the right switch.

Thanks
Jonathan Vogt



More information about the sr-users mailing list