[reSIProcate] When NOTIFY arrived, it can not get ClientSubscriptionHandler, why?
Scott Godin
slgodin at icescape.com
Fri Aug 19 10:14:53 CDT 2005
You must call: dum->addClientSubscriptionHandler("refer", &handler);
And pass a pointer to your class that implements SubscriptionHandler.
-----Original Message-----
From: resiprocate-devel-bounces at list.sipfoundry.org [mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of ??
Sent: Friday, August 19, 2005 10:55 AM
To: resiprocate-devel
Subject: [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
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.sipfoundry.org
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
More information about the resiprocate-devel
mailing list