[reSIProcate] DUM REFER crash
Jason Fischl
jason at counterpath.com
Fri Aug 18 14:03:48 CDT 2006
You need to install a handler. It should assert in this case rather
than crash. However, it is a programming error. I don't think this can
occur from events from the wire.
On 8/18/06, Matt Porter <mporter at calltower.com> wrote:
> Dialog.cxx
>
> DebugLog (<< "Making subscription from NOTIFY: " << msg);
> ClientSubscription* sub = makeClientSubscription(msg);
> mClientSubscriptions.push_back(sub);
> ClientSubscriptionHandle client = sub->getHandle();
> mDum.mInviteSessionHandler->onReferAccepted(mInviteSession->getSessionHa
> ndle(), client, msg);
> mInviteSession->mSentRefer = false;
> sub->dispatch(request);
>
>
>
> ClientSubscription.cxx
>
> void
> ClientSubscription::dispatch(const SipMessage& msg)
> {
> ClientSubscriptionHandler* handler =
> mDum.getClientSubscriptionHandler(mEventType);
> assert(handler);
>
> !!! UGG
> handler is null, I have no handlers for event=refer
>
>
> Maybe I should have a subscription handler for a NOTIFY, event=refer.
> crashing seems to be an extreme side affect, if I don't..
> At least check the pointer before calling the method.
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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