[sip-comm-dev] Re: Modify ongoing session


#1

Hey Alvaro,

�lvaro Canivell Garc�a de Paredes wrote:

The call state in the client (who sent the INVITE) is "connected", while its associated dialog is "terminated".

Sounds strange. Would you be able to reproduce the same thing with a few lines by only using the jain-sip-ri?

Thanks
Emil

···

The call state in the server (who received the INVITE) is "connected", while its associated dialog is "confirmed" "terminated".

Is this supposed to be like this? If so, then the client can't send anymore SIP messages in the dialog, cause the dialog is terminated, but the server can send messages without problems.

In case this is the right behaviour, is there a way to prevent dialog from being terminated in the client while the call is connected?

Maybe I should forget about sending a new request inside the dialog associated to the call...?

�lvaro

�lvaro Canivell Garc�a de Paredes wrote:

I am trying to modify an ongoing audio session stablished among two SIP-COMMUNICATOR users.

When I try to use:

reInvite = currentDialog.createRequest(Request.INVITE);
[header modification]
ClientTransaction clientTransactiorModifier = sipManCallback.sipProvider.getNewClientTransaction(reInvite);
currentDialog.sendRequest(clientTransactiorModifier);

I get this exception:

Caused by: javax.sip.SipException: Dialog 9cb339c8bc017256dfcee3cf8ac139e5@192.168.200.53:elfugitivo@morel.co:13480046:faustine@morel.co not yet established or terminated Terminated Dialog
  at gov.nist.javax.sip.stack.DialogImpl.createRequest(DialogImpl.java:1145)
  at net.java.sip.communicator.sip.CallProcessing.reinvite(CallProcessing.java:989)

  ... 29 more

I checked and the dialog is really terminated.
Is it right that the dialog is terminated, while the audio session is still stablished?
My session is stablished like this (dialog gets terminated once RTP flow starts):

A Proxy C
------------------------------------
INVITE
--------------->
407
<---------------
ACK
--------------->
INVITE (auth)
--------------->
100
<--------------- INVITE (auth)
                --------------->
                180
                <---------------
180
<---------------
                200
                <---------------
200
<---------------
ACK
---------------> ACK
                --------------->
   RTP
<================================>

Any comment is welcome!!

�lvaro

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net