I am trying to put together a prototype app for Freeswitch using the mod_java interface, I am hitting a deadend and I need some guidance.<br><br>What I want to do is to answer an incoming call (endpoint 1), play a prompt to that call, and bridge that call to another endpoint (endpoint 2).&nbsp; After the second endpoint (endpoint 2) disconnects, I want to park that call, originate a call to another endpoint (endpoint 3), play a prompt to endpoint 3, and then bridge endpoint 3 to a new endpoint (endpoint 4).&nbsp; After endpoint 4 hangs up, I want to bridge endpoint 1 and endpoint 3.&nbsp; Then main issue I keep running into is that in the dialplan and in mod_java, calls appear to block, so that it has blocked me from a solution.
<br><br>My first question is, can you do this with the mod_java interface?&nbsp; If so, how?&nbsp; Secondly, if it is not possible then do you need to use the event_socket interface to accomplish this app?&nbsp; Thank you.<br><br>Best Regards,
<br>Jonathan<br><br>