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

[reSIProcate-users] Is this scenario possible ?


Hello everybody,

 

This is my first message to the list, and I hope somebody can help me.

I would like to implement the following scenario using resiprocate and DUM.

 
UAC              B2B(resip)   cloud

---------------   ------------------   ----------

|INV(sdp)            

 

|---------------->        |              |

 

|183(sdp 1)          

 

|<---------------         |              |

 

|180(w/o sdp)       

 

|<---------------         |   ...        |

 

|200 (sdp2)          

 

|<---------------         |              |

 

|ACK                  

 

|---------------->        |              |

 

In this scenario, my application wishes to send a particular SDP in the message 183 (sdp1), and   eliminate it later on in the message 180.

Next, in the message 200, I would like to set a different SDP (sdp2).

 

Currently, I am trying to use the "provideAnswer(..)" function to

implement it but I am having problems with it. First, I am setting the

sdp1 into the message 183 using this function. This makes the DUM change

from the UAS_EarlyOffer to the UAS_EarlyProvidedAnswer state. But, this

function does not allow me neither remove the sdp1 (in the 180 message) nor

modify it (in the 200 message). When trying to modify it using the

provideAnswer function, DUM generates an assertion due to using

provideAnswer in state: UAS_EarlyProvidedAnswer

 

Are there any functions that can allow me to implement this scenario? If

so, which are those functions?

If it can not be done this way,   could I do something like this using a

re-invite message? If so,   which functions should I use to send it?

 

Note: The UAC doesnt send PRACK.

 

Thanks in advance,