Comments inline... On Tue, Feb 22, 2011 at 1:40 PM, Jason b.a <k-b-24@live.com> wrote:
1- i need an IVR application separated from the media server 2- the application server should control the media server using MSCML , VXML or any control protocol
i know it is easier to use the embedded IVR in freeswitch, but this is not my case.
This is problem is screaming "event socket" all over
Beside by using openSER between the application and the media server ==> openSER can interface with Freeswitch through socket interface,to control it !
Yes, but is there any reason YOUR application can't talk to FreeSWITCH over the event socket?
i dont know if the sip sophia interface can handle the request from the application , and pass it to the core for processing, and generate a responce and pass it through the same interface, so here no need for OpenSER
Again, the event socket lets you have this kind of control.
if we took this example: 1-Caller call IVR application
When you say that the caller calls your IVR application, what exactly does that mean? Do you do SIP handling in your application? Do NEED to do SIP handling? You could have the call terminate and FreeSWITCH and let FreeSWITCH do an outbound event socket connection to your program - at that point your program has complete control of this call - you can play TTS, collect digits, transfer caller elsewhere and hangup. You can even create an outbound call leg to connect to the callee and do all sorts of crazy things.
2-Application as media server to play welcome message and to collect digit 3-caller enter digits 4-media server pass the digits to the application 5-application bridge caller and callee together
I recommend you look at the outbound event socket on the wiki. Also, look at the fs_ivrd program. It's a handy way to organize calls to a socket-based application. -MC