[reSIProcate] When NOTIFY arrived, it can not get ClientSubscriptionHandler, why?
常铮
changzheng at emails.bjut.edu.cn
Fri Aug 19 10:53:28 CDT 2005
Scott Godin,
I have followed your instruction, and the problem has been solved.
but another Assert Error apperance.
Assertion failed: expires, file .\ClientSubscription.cxx, line 120
Waiting for your return!
Best Wishes!
John
======= 2005-08-19 11:14:00 您在来信中写道:=======
>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
= = = = = = = = = = = = = = = = = = = =
致
礼!
常铮
changzheng at emails.bjut.edu.cn
2005-08-19
More information about the resiprocate-devel
mailing list