[Freeswitch-dev] Play message to the bridged calls
Sathish Babu
sathishbabu07 at gmail.com
Thu May 20 00:03:20 PDT 2010
Hi
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.
@con.execute("fifo", "callforce_fifo_#{@sa_park_num} out wait undef
'#{music}'").
So this caller is hearing the music continuously.
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.
@con.execute("bridge",
"sofia/gateway/junctionnetworks/#{@callout_number}")
Now i am patching the outside number with the incoming call which i received
early using the
uuid_transfer function as shown below.
con.sendRecv("api uuid_transfer #{callin_uuid} -bleg callforce_fifo_#{sa_id}
XML public")
Patching is happening properly. both the parties can hear the voice.
Now after patch the both caller, i need to play the voice file(same) to both
the caller. How to achieve this?
Thanks and Regards,
Sathishbabu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100520/9bce40e8/attachment.html
More information about the FreeSWITCH-dev
mailing list