< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] ServerSubscriptionHandler for presence


I got it , sorry for my noise,

On Mon, Jul 28, 2008 at 11:28 PM, Karlsson <boost.regex@xxxxxxxxx> wrote:
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