Hi all, I think I was unclear(maybe mistaken) while writing my previous post. When I Subscribe, I receive a 202 Accepted from the other end, as well as NOTIFY. But at the application level, I only get EVENT_CATEGORY_SUB_STATUS. Shouldn't I also be getting an EVENT_CATEGORY_NOTIFY type event. Also, I would like to know how to let other users know when I change my presence status ?
Thank you kumar ---------- Forwarded message ---------- From: KUMAR <[EMAIL PROTECTED]> Date: Jul 5, 2007 9:56 AM Subject: Presence To: [email protected] Hi all, I'm trying to write a UA, with end-to-end presence support. I'm a bit confused about it. Here's what I'm doing. I want to be notified when the user at the other end changes his/her status. sipxPublisherCreate(h_UA,&h_Pub,"sip:[EMAIL PROTECTED]","presence","application/pidf+xml","Online",6); sipxConfigSubscribe(h_UA,h_Line,"sip:[EMAIL PROTECTED]","presence","application/pidf+xml",CONTACT_AUTO,&h_Sub); Now, when this code executes, a SUBSCRIBE message is sent to user [EMAIL PROTECTED], I get a NOTIFY, which raises SUBSCRIPTION_ACTIVE event. At no time do i get an EVENT_CATEGORY_NOTIFY. Even when the user at other end ([EMAIL PROTECTED]) changes his status, no NOTIFY gets send. I'm doing sipxPublisherUpdate(h_Pub,"application/pidf+xml","Busy",4); at the other end when status is changed. My question is, how do I make the API send NOTIFY when the user changes his status ? Thank you kumar _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
