[Freeswitch-dev] Problem in uuid_broadcast and uuid_displace

Brian West brian at freeswitch.org
Fri May 21 07:31:58 PDT 2010


Please refrain from posting the SAME email in TWO threads.

/b

On May 21, 2010, at 5:28 AM, Sathish Babu wrote:

> 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




More information about the FreeSWITCH-dev mailing list