Get the uuid of bridge call
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_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working @con.execute("uuid_displace", "#{Caller_B_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
If you need urgent help then I highly recommend you get assistance from consulting@freeswitch.org You could also try reading THE SYNTAX of the command on the wiki because I have no clue HOW or where you got the syntax you're using. uuid_broadcast is uuid_broadcast <uuid> <path> [aleg|bleg|both] freeswitch@taz> uuid_broadcast 45003110-d8e8-4e52-a871-3499617562a7 /usr/local/freeswitch/sounds/en/us/callie/digits/32000/star.wav +OK Message Sent 2010-05-21 09:26:43.324866 [DEBUG] switch_core_session.c:861 Send signal sofia/gateways/9999999999999@192.168.1.113:5062 [BREAK] freeswitch@taz> 2010-05-21 09:26:43.464862 [DEBUG] switch_ivr.c:551 sofia/gateways/9999999999999@192.168.1.113:5062 Command Execute playback(/usr/local/freeswitch/sounds/en/us/callie/digits/32000/star.wav) EXECUTE sofia/gateways/9999999999999@192.168.1.113:5062 playback(/usr/local/freeswitch/sounds/en/us/callie/digits/32000/star.wav) 2010-05-21 09:26:43.504860 [WARNING] switch_core_file.c:176 Sample rate doesn't match 2010-05-21 09:26:43.504860 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16@8000hz 1 channels 20ms 2010-05-21 09:26:44.004844 [DEBUG] switch_ivr_play_say.c:1444 done playing file uuid_displace <uuid> [start|stop] <path> [<limit>] [mux] freeswitch@taz> uuid_displace 4cdb1202-e8f1-4fa1-a189-424602720df0 start /usr/local/freeswitch/sounds/en/us/callie/digits/48000/star.wav 2010-05-21 09:28:03.860705 [WARNING] switch_core_file.c:176 Sample rate doesn't match 2010-05-21 09:28:03.860705 [DEBUG] switch_core_media_bug.c:365 Attaching BUG to sofia/gateways/9999999999999@192.168.1.113:5062 +OK Success Its an API call not an application to execute. /b On May 21, 2010, at 5:12 AM, Sathish Babu wrote:
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_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav bleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav aleg") - Not Working @con.execute("uuid_broadcast", "#{Caller_B_UUID} playback::/opt/freeswitch/sounds/wel_lf1.wav both") - Not Working @con.execute("uuid_displace", "#{Caller_B_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?
participants (2)
-
Brian West
-
Sathish Babu