[Freeswitch-users] Error to play multiple file with play_and_get_digits

Michael Collins msc at freeswitch.org
Tue May 17 00:03:28 MSD 2011


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 at 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 at sip2.blindi.net set(playback_delimiter=!)
> 2011-05-15 02:09:03.316798 [DEBUG] mod_dptools.c:1060
> sofia/internal/1000 at sip2.b
> lindi.net SET [playback_delimiter]=[!]
> EXECUTE sofia/internal/1000 at sip2.blindi.net set(playback_sleep_val=500)
> 2011-05-15 02:09:03.316798 [DEBUG] mod_dptools.c:1060
> sofia/internal/1000 at sip2.b
> lindi.net SET [playback_sleep_val]=[500]
> EXECUTE sofia/internal/1000 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110516/68c9316e/attachment.html 


More information about the FreeSWITCH-users mailing list