<span style="font-family: verdana,sans-serif;">Hi </span><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">I received one inbound call after processing the call i put that call in the fifo queue using the below code in the ruby script. </span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">@con.execute("fifo", "callforce_fifo_#{@sa_park_num} out wait undef '#{music}'"). </span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">So this caller is hearing the music continuously.</span><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;">
<span style="font-family: verdana,sans-serif;">After that i am (freeswitch) receiving one call from asterisk after answer that call i am bridging this call with the some other outside number using the below code. </span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">@con.execute("bridge", "sofia/gateway/junctionnetworks/#{@callout_number}") </span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Now i am patching the outside number with the incoming call which i received early using the </span><br style="font-family: verdana,sans-serif;">
<span style="font-family: verdana,sans-serif;">uuid_transfer function as shown below.</span><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">con.sendRecv("api uuid_transfer #{callin_uuid} -bleg callforce_fifo_#{sa_id} XML public")</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Patching is happening properly. both the parties can hear the voice. </span><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;">
<span style="font-family: verdana,sans-serif;">Now after patch the both caller, i need to play the voice file(same) to both the caller. How to achieve this?</span><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;">
<span style="font-family: verdana,sans-serif;">Thanks and Regards,</span><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Sathishbabu</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;">