The closest thing to what you need I think is the uuid_hold command
https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-uuid_hold

However, I don't think you can still receive audio from the other end. The hold_music channel variable will let you configure the hold music. 

Another way of doing this would be place your caller in a conference and use the conference api's to deaf the member and play hold music to just that member. I'd do this if I really need to receive audio from the caller's channel and if there is no other way of doing it as I'm not sure a conference is a good idea for a two person call. 

Nishad

On Mon, May 9, 2016 at 11:32 PM Oleg Stolyar <olegstolyar@gmail.com> wrote:
Hi, 
I am looking for a way to deaf a channel and play some hold music into it while still receiving audio from the channel.

I tried uuid_displace but it also mutes the channel, so I don't receive any audio from it.

Is there a combination of commands that can do this?
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org