the default config works this way
it runs a stream on each rate called moh/8000 moh/16000 moh/32000 and moh/48000
if you try to run stream "moh" it will pick the right one.
Hello,
I'm using local_stream:// as our music on hold source. I have both 8000 KHz and 16000 KHz files
encoded so that I can play them at the native rate. We have some endpoints that can only do PCMU
and others that can do higher rates.
I want to set music on hold for a channel and have it automatically pick the appropriate stream
based on the channel's native rate, just like the voice prompts do. I tried creating a stream for
each rate, like rock-8000 and rock-16000 and then set the channel's music on hold variable to
local_stream://rock-${read_rate} but the read rate hasn't been negotiated when this is set in the
dialplan.
Any suggestions?
-Tim
_______________________________________________
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