Use ! instead of , to separate your file names: <action application="play_and_get_digits" data="0 42 1 10000 # file_string:///tmp/1.alaw!/tmp/2.alaw $${base_dir}/sounds/callback/invalid.wav NR1 \d+"/> -MC On Sat, May 14, 2011 at 5:20 PM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hi all, fs, don.t play multiple files. my dialplan: <action application="set" data="playback_delimiter=!"/> <action application="set" data="playback_sleep_val=500"/> <action application="play_and_get_digits" data="0 42 1 10000 # file_string:///tmp/1.alaw,/tmp/2.alaw $${base_dir}/sounds/callback/invalid.wav NR1 \d+"/> I become the following error on the console:
EXECUTE sofia/internal/1000@sip2.blindi.net set(playback_delimiter=!) 2011-05-15 02:09:03.316798 [DEBUG] mod_dptools.c:1060 sofia/internal/1000@sip2.b lindi.net SET [playback_delimiter]=[!] EXECUTE sofia/internal/1000@sip2.blindi.net set(playback_sleep_val=500) 2011-05-15 02:09:03.316798 [DEBUG] mod_dptools.c:1060 sofia/internal/1000@sip2.b lindi.net SET [playback_sleep_val]=[500] EXECUTE sofia/internal/1000@sip2.blindi.net play_and_get_digits(0 42 1 10000 # file_string:///tmp/1.alaw,/tmp/2.alaw /usr/local/freeswitch/sounds/callback/i nvalid.alaw NR1 \d+) 2011-05-15 02:09:03.316798 [ERR] mod_sndfile.c:194 Error Opening File [/tmp/1.alaw,/tmp/2.alaw aw,/tmp/2.alaw] [System error : No such file or directory.]
The files are exists. What ist the problem please? thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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