I were sitting wondering how could I attach an IVR to a call already established?
I have been thinking of the following possibilities, but which one is the "right" one? And which one would be fastest/best to implement??
1. Take the established call, self-transfer it and place it in a B2BUA, where the 2nd call is a new instance of a AudioVideoCall placed in a IVR class, which have a Player, Recorder and ToneController, that can be used to IVR between that IVR object and established call.
2. Take the established call, and transfer it into a adhoc ConferenceSession, and let a shadow of this call join the same adhoc conference, where the shadow will be the IVR functionality (contain a Player, Recorder and ToneController that will play IVR messages, collect DTMF and record any messages).
3. Use VXML as he IVR sequence. Havn't experienced this, but I think it would be something like establish a new flow on the established call, and attach that flow to an Browser of the VXML library.
Any pro's and con's and reasons are very welcome.