Hello,
trying to make so dialplan extensions that use the playbvack and play_and_get_digits applications, but I'm having trouble with the file name specification.
The files I want to play are in the french language (fr/fr/julie as configured in lang/fr/fr.xml)
My extension is as follows :
<extension name="Disable Ringing on FXS">
<condition field="destination_number" expression="^#1234$">
<action application="set" data="default_language=fr"/>
<action application="set_global" data="dont_ring_fxs=true"/>
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="playback" data="misc/ringing_disabled.wav"/>
<action application="hangup" data="normal_clearing"/>
</condition>
</extension>
The channel is using a bit rate of 8000 Hz, so by the set default_language=fr I would expect freeswitch to playback the file at ${FREESWITCH_PATH}/sounds/fr/fr/julie/misc/8000/ringing_disabled.wav whereas it tries to playback the file at ${FREESWITCH_PATH}/sounds/en/us/callie/misc/ringing_disabled.wav
I have the same with play_and_get_digits application.
What am I doing wrong ?
François