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

Re: [reSIProcate] Issue calling end() in onNewSession


Title: Re: [reSIProcate] Issue calling end() in onNewSession
A patch would be great!  : )
 
Thanks,
 
Scott


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of Jay Hogg
Sent: Thu 15/02/2007 6:12 PM
To: Robert Sparks; Jay Hogg
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] Issue calling end() in onNewSession

Got it. Thanks.

Between your response and Scott's link I'm working as I
expected.

Regarding the issues in BasicCall and null SipMessage* would
you like a patch on this or let it go for now?

Jay

----- Original Message Follows -----
From: Robert Sparks <rjsparks@xxxxxxxxxxx>
To: Jay Hogg <jay@xxxxxxxxxxxxxx>
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] Issue calling end() in
onNewSession
Date: Thu, 15 Feb 2007 09:19:52 -0600

> partial response inline.
>
> On Feb 14, 2007, at 10:32 PM, Jay Hogg wrote:
>
> >
> > For some testing I'm doing I want to terminate a dialog
> > on the first non-100 message I receive, to accomplish
> > this I put a cis->end() in   the
> > onNewSession handler for client invite sessions.
> >
> > When a 18x message is received I see the BYE message
> > generated   (when in
> > debug) immediately followed by a segment violation.
> >
> >> From everything I've read on the list I should be able
> to call end  >> () at
> > any time once the dialog is created and the appropriate
> > message   will be
> > generated/deferred as necessary. I was also surprised to
> > see BYE   instead
> > of CANCEL since the dialog is not connected.
> The BYE allows you to terminate just the leg associated
> with that   1xx>100
> without tearing down any other legs due to fork that might
> still be   in progress.
> A CANCEL removes all of them.
>
> If CANCEL is what you really wanted, there's a different
> call to make.
>
> >
> > Linux, svn head, dum/test/BasicCall.cxx - simply add a
> > variable to ClientInviteSession and cis->end() to see
> > it. I can provide logs if necessary.
> >
> > Did I miss something in how I should handle an immediate
> termination? >
> > Jay
> >
> >
> >
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
> >
>
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel