Comments inline...<br><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 1:40 PM, Jason b.a <span dir="ltr"><<a href="mailto:k-b-24@live.com">k-b-24@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
1- i need an IVR application separated from the media server<br>
2- the application server should control the media server using MSCML , VXML or any control protocol<br>
<br>
i know it is easier to use the embedded IVR in freeswitch, but this is not my case.<br>
</div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div> <br></div></blockquote><div>This is problem is screaming "event socket" all over</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
Beside by using openSER between the application and the media server ==> openSER can interface with Freeswitch through socket interface,to control it ! <br></div></blockquote><div><br></div><div>Yes, but is there any reason YOUR application can't talk to FreeSWITCH over the event socket? </div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<br>
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<br>
pass it through the same interface, so here no need for OpenSER<br></div></blockquote><div><br></div><div>Again, the event socket lets you have this kind of control. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<br>
if we took this example:<br>
1-Caller call IVR application <br></div></blockquote><div>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.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
2-Application as media server to play welcome message and to collect digit<br>
3-caller enter digits<br>
4-media server pass the digits to the application<br>
5-application bridge caller and callee together <br></div></blockquote><div><br></div><div>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.</div>
<div><br></div><div>-MC</div></div>