Restcomm-Connect icon indicating copy to clipboard operation
Restcomm-Connect copied to clipboard

Allow Early Media for RingBack Tone scenarios

Open deruelle opened this issue 9 years ago • 13 comments

Allow RestComm to Support configuration of RCML to be called for Early Media scenarios such as RingBackTones

deruelle avatar Jan 14 '16 12:01 deruelle

@gvagenas can you paste the link to the design documents that was created for that ?

deruelle avatar Jul 12 '16 09:07 deruelle

@deruelle there are no design documents for this issue. We have an email thread with subject "Restcomm early media support for inbound and outbound calls" with comments and suggestions from the team.

gvagenas avatar Jul 12 '16 10:07 gvagenas

Also related issue is #936

gvagenas avatar Jul 12 '16 10:07 gvagenas

@gvagenas can you paste the result of the discussion or the status of where we stood in terms of decisions here ?

deruelle avatar Jul 12 '16 10:07 deruelle

@deruelle the results of the brainstorming was the following:

For outgoing calls, Restcomm will send the INVITE and will receive 183 Session Progress with SDP. In that case we should refactor the Call actor FSM to setup and open the RTP stream to the caller.

For Inbound calls RCML for Early Media will support all tags/verbs except <Dial> Example

  • INVITE to Restcomm for DID (with either EarlyMedia = true flag OR to have another URL - Early Media URL- in addition to current Voice URL)
  • Restcomm sends 100, 180
  • Since this is an EarlyMedia DID, Restcomm downloads RCML and sends 183 Session Progress with SDP Restcomm executes the RCML in the Early Media session
  • At the end of RCML :
    • if there is REDIRECT send 200 OK and execute the RCML
    • if RCML reaches the end, hangup the call.

gvagenas avatar Jul 13 '16 07:07 gvagenas

Hi @deruelle Flow diagram we made for RBT flow. rbt flow

Following are the points we will be catering:

  • we have to send extra parameter (flag or URI) in initial INVITE for early media
  • When Called party sends back 183/180. Restcomm will play RBT to caller
  • When caller receive prack ack (200) from restcomm, RBT should end

Do we have any document for restcomm call flow along with diagram so we can update it accordingly?

Kindly confirm if above flow is good to go?

Thanks

zeeshan-ks avatar Aug 19 '16 05:08 zeeshan-ks

hi @zeeshan-ks

we have to send extra parameter (flag or URI) in initial INVITE for early media

Can you describe what you mean and have in mind for that ?

When Called party sends back 183/180. Restcomm will play RBT to caller

Only for 183 not 180

When caller receive prack ack (200) from restcomm, RBT should end

I would suggest not to use PRACK in the first iteration to make the implementation simpler and end the RBT when 200 OK to INVITE is received.

@gvagenas can provide diagrams location

deruelle avatar Aug 19 '16 10:08 deruelle

The current SIP flow when you dial the 1234 demo application (i.e. inbound call) is:

image

What is required will be:

early_media

correct?

shoaib-ks avatar Oct 31 '16 12:10 shoaib-ks

Hi @shoaib-ks

Sorry for the late reply, I'm not sure why there is 2 200 OK and 2 ACK in your diagram. This http://www.gl.com/images/Newsletter/Newsletter_Packetools_PacketGen_RPR.jpg is the flow that should happen

deruelle avatar Nov 07 '16 08:11 deruelle

Hi @deruelle, thanks for the reply, the image that you shared has 2 200 OK as well. I am also not sure why there are 2 OKs

image

shoaib-ks avatar Nov 07 '16 11:11 shoaib-ks

@shoaib-ks in this case it's clear the first OK is for PRACK and the second OK is for INVITE. but in your diagram I didn't see any PRACK

deruelle avatar Nov 07 '16 12:11 deruelle

Hi @deruelle,

Please could you update me on the current status of this issue ?

Peter-eid avatar Sep 11 '18 07:09 Peter-eid

Any news regarding this issue ?

nachkar avatar Oct 05 '18 08:10 nachkar