< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Hi Scott, Thanks for answering, and I went ahead to
modify DUM’s code, now, I can send re-INVITE with modified SipMessage ok
now but I got a new problem, when I am already in a dialog session with a party
(A), and if I send new INVITE to another party (B) then send re-INVITE to
existing party and before 200 come back from B if I tried to send another
re-INVITE to A, the DUM will automatically send a BYE when trying to send
re-INVITE, please see diagram below, and my question is “is this appropriate
behavior of DUM”, any reason that it send a BYE automatically? ME
A
B | |
INVITE |----------------------------------------------------------------------------------à| | (re)INVITE
| |-----------------------------------------à| | 200
| |ß---------------------------------------- | |
180
| |ß----------------------------------------------------------------------------------| |
(re)INVITE (Intended) | |----------------------------------------à| | (But) BYE (send by DUM) |-------------------------------------------|
Nash Tsai From: Scott Godin
[mailto:slgodin@xxxxxxxxxxxx] There currently is no easy way to do what
you want without customizing the dum code. There is a setOutgoingMessageInterceptor
on the DUM in SVN head, that could be used for this. As far as AppDialogSets, check out: http://warsaw.sjc.purplecomm.com/wiki/index.php?title=DUM_Associating_Application_Data_with_DialogSets_and_Dialogs Basically you pass an AppDialogSet in so that you
can associate application data to the new InviteSession. Scott From: Nash Tsai
[TelTel] [mailto: Hi, I happened to be need to modify SipMessage
that is needed to be sent, with InviteSession::provideOffer I cannot do it,
also with mDum.makeInviteSession what is the use of passing third param AppDialogSet? Thanks, Nash Tsai From: You should use InviteSession::provideOffer
to send a re-invite – this will ensure dialogid’s are all correct. From:
resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Nash Tsai [TelTel] Hi, I used following code to send re-INVITE, however, when the
INVITE message is sent with new dialog ID (from tag and and Call-ID) are
different to first INVITE. I assumed mInviteSessionHandle got from void
onConnected(ClientInviteSessionHandle h, const SipMessage& responseMessage) can be
reuse to provide same dialog ID. Can someone answer me where I have done wrong? SipMessage& invite = mDum.makeInviteSession(toNameAddr,
&mCallInfo.getConferenceSdp(),
mInviteSessionHandle->getAppDialogSet().get()); mDum.send(invite); Thanks Nash |