[reSIProcate] Finding Contents of a Failed InviteSession in-dialog MESSAGE
Scott Godin
slgodin at icescape.com
Wed Feb 6 11:17:55 CST 2008
Re-tranmissions are handled by the stack layer - you won't have access to
that from dum (the stack can run in it's own thread). There is a request
map in the dialog class (index by CSeq) and use for auth logic - but is
cleared as soon as the response comes in. I suppose we could delay it's
cleanup until after the response has been dispatched to the usages, then
offer an accessor for it, but I think it also makes sense to just implement
this in the application layer.
From: Aron Rosenberg [mailto:arosenberg at sightspeed.com]
Sent: February 6, 2008 11:48 AM
To: Scott Godin; resiprocate-devel
Subject: RE: [reSIProcate] Finding Contents of a Failed InviteSession
in-dialog MESSAGE
If we wanted to patch resiprocate for this functionality is the original
outbound message stored somewhere in the transaction, Dialog or DialogSet
layer? My hunch is that it must be so that retransmissions can be sent.
-Aron
From: Scott Godin [mailto:slgodin at icescape.com]
Sent: Wednesday, February 06, 2008 5:43 AM
To: Aron Rosenberg; 'resiprocate-devel'
Subject: RE: [reSIProcate] Finding Contents of a Failed InviteSession
in-dialog MESSAGE
There is currently no way to get this, you will need to keep a list of
requests in the application layer.
Scott
From: resiprocate-devel-bounces at resiprocate.org
[mailto:resiprocate-devel-bounces at resiprocate.org] On Behalf Of Aron
Rosenberg
Sent: February 6, 2008 3:24 AM
To: resiprocate-devel
Subject: [reSIProcate] Finding Contents of a Failed InviteSession in-dialog
MESSAGE
For a new dialog request, a failure in sending a MESSAGE is handled using
virtual void ClientPagerMessageHandler::onFailure
(ClientPagerMessageHandle, const SipMessage &status, std::auto_ptr< Contents
> contents)=0
This method helpfully includes the "contents" so that important details like
the body, mimeType can be found.
However, an indialog MESSAGE failure for an InviteSession does NOT include
the body
virtual void InviteSessionHandler::onMessageFailure (InviteSessionHandle,
const SipMessage &msg)=0
Is there a normal way that we can find the correct request that generated
this Failure without keeping a list of requests in our application layer?
-Aron
---------------------------------------------
Aron Rosenberg
Founder and CTO
SightSpeed - http://www.sightspeed.com/
918 Parker St, Suite A14
Berkeley, CA 94710
Email: arosenberg at sightspeed.com
Phone: 510-665-2920
Cell: 510-847-7389
Fax: 510-649-9569
SightSpeed Video Link: http://aron.sightspeed.com
<http://aron.sightspeed.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080206/00b737b5/attachment.htm>
More information about the resiprocate-devel
mailing list