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/

Reply via email to