[reSIProcate] How to send a re-INVITE
Scott Godin
slgodin at icescape.com
Tue Apr 11 11:22:16 CDT 2006
You can either store the DialogId from a previous message - or store the
InviteSessionHandle.
You should use the provideOffer API - not setOffer. And you should get
the onAnswer callback not onDialogModified. In fact onDialogModified is
not actually implemented.
Scott
________________________________
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Kevin Wang
Sent: Tuesday, April 11, 2006 12:18 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] How to send a re-INVITE
I'm trying to use DUM to send a re-INVITE so I can add a customized
media stream to the existing call. Below is what I have in mind:
InviteSessionHandle isHandle = uacDum->findInviteSession(dialogID);
isHandle->setOffer(offer); // create offer seperately
isHandle->send(isHandle->modifySession());
In the onDialogModified(resip::InviteSessionHandle is,
resip::InviteSession::OfferAnswerType oat, const resip::SipMessage&
msg), answer the request with 200.
Will this work? And if it does, how do I get hold of the dialogID for an
existing call? Since I'm new to reSIProcate, my pseudo code could be
completely wrong. I'd highly appreciate any help you can provide.
Thanks,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060411/7cd4f046/attachment.htm>
More information about the resiprocate-devel
mailing list