[reSIProcate-users] ServerSubscriptionHandler for presence
Hi all, I try to implement the presence, all are ok so far, but now I have encountering some problem
1: When another one(A) SUBSCRIBE me, the onNewSubscription(ServerSubscriptionHandle h, const SipMessage& sub) will be fired, and I accepted this
SUBSCRIBE, now A change his status and send a NOTIFY to me, which callback will be fired ?
I have tried virtual void onRefresh(ServerSubscriptionHandle, const SipMessage& sub);
but this is not pure virturl function and seem it not be fired.
2: When another one(A) SUBSCRIBE me, the
onNewSubscription(ServerSubscriptionHandle h, const SipMessage&
sub) will be fired, and I accepted this
SUBSCRIBE, now A is offline, onTerminated(ServerSubscriptionHandle h) was fired, but this callback does not has SipMessage parameter,
it's not inconvenient.
Thanks