Here is a call flow sample for playing a prompt, later on i need to make my IVR application virtual using cloud computing , in this example freeswitch can play the role of media server,
for media processing , and the application server for signal processing and controlling the media server sure, is it right ! or should i use different media server such as SEMS !
 
sip Caller                      Application Server                             Media server
 
   -----------invite---------------->
                                             ----------------invite--------------------->
  <---------Trying-----------------
                                             <--------------200ok----------------------
  <-------------200ok-------------
   --------------Ack--------------->
                                             -----------------Ack----------------------->
 
                          Caller in interactiong with media server
 
                                            ---------Info(play prompt X.wav)--------->
                                            <----------------Ok---------------------------