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

[reSIProcate] When NOTIFY arrived, it can not get ClientSubscriptionHandler, why?


Hi all,

I am implementing Transfer.
now,
B send a NOTIFY to A by calling makeInviteSessionFromRefer(), 
When NOTIFY arrive to A, A has an Assert Error, which can not get 
ClientSubscriptionHandler.

ClientSubscription::dispatch(const SipMessage& msg)
{
   ClientSubscriptionHandler* handler = 
mDum.getClientSubscriptionHandler(mEventType);
   assert(handler); 
   ...
}

I have heritage SubscriptionHandler Classes as
class TestInviteSessionHandler : public InviteSessionHandler, public 
ClientRegistrationHandler, public OutOfDialogHandler, public 
ClientPagerMessageHandler, public ServerPagerMessageHandler, public 
ClientSubscriptionHandler, public ServerSubscriptionHandler
{
...
} 
and I have rewrite some virtual functions.

is there anything i was lost?

Thanks very much.

John, Beijing China