Hi Kumar
Unfortunately I don't have Eyebeam, so I'm not sure if it even supports
XCAP, although from what I've heard it does. Maybe someone else can give
you some guidance as to what settings need to be changed.
I think there is some confusion as to how XCAP works.
XCAP uses HTTP to retrieve and send documents to an XCAP server. This
may or may not be located on the same machine as your SIP Presence
server. As far as I know OpenSER only deals with SIP messages and
therefore does not support the XCAP protocol. That's why you need XCAP-lite.
The confusing part is that the OpenSER presence module can look at XML
pres-rules documents that were obtained by the XCAP server and make
presence decisions based on these documents. But OpenSER does not deal
with the XCAP protocol itself, only the resulting XML documents.
XCAP-lite uses Apache to listen for incoming HTTP GET and PUT requests.
Your client (eyebeam) must send the XML pres-rules documents using HTTP
to the XCAP server (probably listening on port 80) and not to the SIP
presence server (probably listening on port 5060).
So the openser.cfg file should not be consulted for XCAP requests, only
for SIP PUBLISH and SUBSCRIBE presence requests. It looks to me like
eyebeam is trying to set the pres-rules using SIP not XCAP and that is
why it's not recognizing the event type. (Your openser.cfg file looks
fine by the way.)
Regards
Dave
KUMAR wrote:
Hi Dave,
Where do I need to change the settings, in Eyebeam or in Openser.cfg.
I couldnt find any setting in the Eyebeam to make such change. As for
my configuration file, i am attaching it alongwith.
Thank you
kumar
On 6/21/07, Dave Waiting <david(a)crg.ee.uct.ac.za> wrote:
>
> Now that I look a little closer it seems that Eyebeam is trying to
> either get or set your pres-rules using a SIP SUBSCRIBE.
>
> The XCAP protocol (and the XCAP-lite server) uses HTTP GET and PUT
> methods to set and retrieve the pres-rules documents. Try change your
> settings to use XCAP rather than SIP to change your pres-rules.
>
> Hope this helps.
>
>
> Dave Waiting wrote:
> > Hi Kumar
> >
> > As far as I am aware the presence module adheres to RFC3856 and
> > RFC3857. Therefore the only valid event types would be:
> >
> > Event: presence
> >
> > and
> >
> > Event: presence.winfo
> >
> > It seems strange that Eyebeam does not follow this syntax. Perhaps
> > there is a setting you can change.
> >
> > Regards
> >
> > Dave
> >
> >
> >
> > KUMAR wrote:
> >> Hi all,
> >> I am using openser 1.2.1-notls (i386/linux), with eyebeam configured
> >> to use XCAP, and i sitll get the same error
> >>
> >> PRESENCE: handle_subscribe:Missing or unsupported event header field
> >> value
> >> 2(12452) PRESENCE:handle_subscribe: ERROR occured
> >> 2(12452) WARNING: script writer didn't release transaction
> >>
> >> The packet capture shows that the Events field in the SUBSCRIBE have
> >> Event: ua-profile;profile-type=application;auid="pres-rules"
> >>
> >> Anyone please help me out. I really need to get this working.
> >> regards
> >> kumar
> >>
> >>
> >> On 6/20/07, Klaus Darilion <klaus.mailinglists(a)pernau.at> wrote:
> >>>
> >>>
> >>> KUMAR wrote:
> >>> > About XCAP server, I am using XCAP simulator from
> >>> > (
http://download.dns-hosting.info/XCAP/). What i want to know is,
> >>> do i
> >>> > need to give the address of XCAP server in the openser.cfg,
> >>>
> >>> no
> >>>
> >>> > or is it
> >>> > automatically used by the presence module.
> >>>
> >>> no
> >>>
> >>> The XCAP server is only used by the client - e.g. eyebeam.
> >>>
> >>> regards
> >>> klaus
> >>>
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users(a)openser.org
> >>
http://openser.org/cgi-bin/mailman/listinfo/users
> >>
> >
> >
>
>