[Freeswitch-dev] Problem in uuid_broadcast and uuid_displace
Sathish Babu
sathishbabu07 at gmail.com
Fri May 21 03:28:27 PDT 2010
Hi Brian West,
I received one incoming and put an fifo (in queue) and playing music
continuously using the below code. (Caller A)
@con.execute("fifo", "callforce_fifo_#{@sa_park_num} out wait undef
'#{music}'")
In the another channel i am receiving the incoming call (Caller B) and i
have bridged that call with the customer number (Caller C) using the below
code.
@con.execute("bridge",
"sofia/gateway/junctionnetworks/#{@callout_number}") .
Now Caller B and C are connected and i am transferring the Caller C to
Caller A using the uuid_transfer and disconnecting the caller B
@con.sendRecv("api uuid_transfer #{@gcallin_uuid} -bleg
callforce_fifo_#{@gsa_id} XML public")
After executing the above code Caller A and Caller C is connected and Caller
B is disconnected. Caller A and Call C both can speak each other.
But i need to play the message message to both Caller A and Caller C also i
have the uuid of Caller A and Caller B.
In order to play the message to the both the caller i tried using the
uuid_broadcast and uuid_displace but the message is not played to any one of
the caller.
Also i could not found any error in the free switch log file. Help me to
solve this issue.
Tried using the Caller A UUID:
@con.execute("uuid_broadcast", "#{Caller_A_UUID}
playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working
@con.execute("uuid_broadcast", "#{Caller_A_UUID}
playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working
@con.execute("uuid_broadcast", "#{Caller_A_UUID}
playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working
@con.execute("uuid_displace", "#{Caller_A_UUID} start
/opt/freeswitch/sounds/wel_lf1.wav") - Not Working
Tried using the Caller B UUID:
@con.execute("uuid_broadcast", "#{Caller_C_UUID}
playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working
@con.execute("uuid_broadcast", "#{Caller_C_UUID}
playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working
@con.execute("uuid_broadcast", "#{Caller_C_UUID}
playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working
@con.execute("uuid_displace", "#{Caller_C_UUID} start
/opt/freeswitch/sounds/wel_lf1.wav") - Not Working
I need urgent help from any one to fix this issue. How to identify where is
the problem?
Thanks in advance
Thanks and Regards,
Sathishbabu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100521/2fb1e43e/attachment-0001.html
More information about the FreeSWITCH-dev
mailing list