[Freeswitch-users] mutiple playback files (unescape_char) Windows
Michael Jerris
mike at jerris.com
Wed Jan 20 23:12:46 PST 2010
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100121/6083720a/attachment-0002.html
More information about the FreeSWITCH-users
mailing list