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

常铮 changzheng at emails.bjut.edu.cn
Fri Aug 19 09:55:28 CDT 2005


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







More information about the resiprocate-devel mailing list