ringback and transfer_ringback ignored by FS
Hi Scenario: - SIP only - inbound call, hits dialplan - call answered, some IVR used - call bridged to selected department The problem is, that I would like to play music on hold while trying to bridge. FS seems to completely ignore custom ringback settings: <action application="set" data="ringback=myfile.wav"/> <action application="set" data="transfer_ringback=myfile.wav"/> <action application="bridge" data="{ignore_early_media=true}sofia/internal/x@y" /> tried also with: <action application="bridge" data="{ignore_early_media=true,transfer_ringback=myfile.wav,ringback=myfile.wav)}sofia/internal/x@y" /> and <action application="set" data="ringback=myfile.wav"/> <action application="set" data="transfer_ringback=myfile.wav"/> <action application="ring_ready" /> <action application="bridge" data="{ignore_early_media=true}sofia/internal/x@y" /> All with no success. I see in console that variables are set, but for some reason FS ignores them and there is no audio while bridging. At the same time I can play/stream sound file before bridge, but this operation is blocking and stream can not be run in background so it can't be used for MoH purpose. Any hints what should I check or how to achive nonblocking MoH?
On Tue, Apr 16, 2013 at 8:03 AM, Adam Raszynski <netcentrica@gmail.com>wrote:
<action application="set" data="transfer_ringback=myfile.wav"/>
You could take a hint from the music-on-hold in the default configuration and put your audio in a local stream. I'm not sure of the "correct" way to do it, but you could add a section in the autoload_configs/local_stream.conf.xml file like this: <directory name="myaudio" path="$${sounds_dir}/myaudio"> <param name="channels" value="1"/> </directory> Then you could use in your dialplan: <action application="set" data="transfer_ringback=local_stream://myaudio"/> Disclaimer: This is just a guess at this point. Someone will correct me if I'm wrong. -- Steve
participants (2)
-
Adam Raszynski
-
Steven Schoch