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

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


More info is needed to tell what is happening here.  Seems that Expires is 0.  
Resip logs would help.

-----Original Message-----
From: 常铮 [mailto:changzheng@xxxxxxxxxxxxxxxxxx] 
Sent: Friday, August 19, 2005 11:53 AM
To: Scott Godin
Cc: resiprocate-devel
Subject: Re: RE: [reSIProcate] When NOTIFY arrived,it can not get 
ClientSubscriptionHandler, why?

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@xxxxxxxxxxxxxxxxxxx 
>[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] 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@xxxxxxxxxxxxxxxxxxx
>https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel

= = = = = = = = = = = = = = = = = = = =
                        

        致
礼!
 
                                 
        常铮
        changzheng@xxxxxxxxxxxxxxxxxx
          2005-08-19