[Freeswitch-users] mutiple playback files (unescape_char) Windows
Diego Toro
dftoro at yahoo.com
Wed Jan 20 15:31:35 PST 2010
Greetings
I have a next section dial plan:
<action application="set" data="sound_prefix=$${base_dir}\sounds\es\co\callie\" />
<action application="set" data="playback_delimiter=!"/>
<action application="playback" data="misc\8000\serror.wav!misc\8000\provide_reference_number.wav!digits\8000\5.wav" />
....
I have a problem using multiple playback files on Windows, the path misc\8000\serror.wav is changed by misc\8000 serror.wav. I check C code on switch_utils.c, cleanup_separated_string function call to unescape_char function which change \s by ' '. This is correct, but on Windows '\' is the path separator, so is not possible to use '\s', '\n'... into path file. I think this is possible to fix it.
Thanks
Diego Toro
http://lacarretade.blogspot.com/
More information about the FreeSWITCH-users
mailing list