I am currently writing an application in java using the the JAIN SIP library
, I've been trying for the past couple of days to implement presence using SUBSCRIBE
and NOTIFY
messages. I currently have NOTIFY
messages which has a content type of "message/sipfrag;version=2.0
", and need this to be XML and PIDF.
I'm aware I need to use an event header with "presence
", and also a content type header.
Are there any places I can go to where there is information on this or are there any other specific headers or classes and/or methods needed to make this work? I already have a client which I can make calls on, but need to implement presence now.