This is totally doable in FreeSWITCH. I'd recommend writing it in a script and using ESL This will give you more control over what's happening. You'll need to spend some time learning the event socket and how to handle events from two related call legs. I highly recommend our book, especially chapter 9. :P<div>
<br></div><div>You can also hang out in #freeswitch to talk in realtime with the gang.</div><div><br></div><div>-MC</div><div><br></div><div><snip></div><div><br><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div> </div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div>Party A calls and party B is called (the phone is ringing at that point)<br>
When party B picks up the phone, FS plays an announcement to party A (ex: callee.wav) and another announcement to party B (ex: called.wav) - bouth announcements/sounds has the same duration<br>If party B stays in the line after heard the announcement/sound FS bridge A and B<br>
If party B hangup the phone, party A hears busy tone (could be an announcement too) and the call is dropped.<br><br></div></div></blockquote></div></div></div>