On Jan 20, 2010, at 6:31 PM, Diego Toro wrote:
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" />
<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.