group_confirm_file multiple files
Hi, I'm wondering if it is possible to play multiple files using the group_confirm_file function. I have 2 audio files that I would like to play 1 after the other and then wait for the confirm key. I have tried using mod_file_string, but get an error "Error from mpg123: File access error. (code 22)", I assume this is due to the fact it is reading the file string as one file rather than 2 separated by the ! delimiter. thanks Matt Matt Broad Tel: +44 (0)203 011 1313 <+44%2020%203011%201313> Web: www.supportedbusiness.com
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+file_str... <https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+file_string>
On Jun 15, 2017, at 5:54 AM, Matt Broad <matt@supportedbusiness.com> wrote:
Hi,
I'm wondering if it is possible to play multiple files using the group_confirm_file function.
I have 2 audio files that I would like to play 1 after the other and then wait for the confirm key.
I have tried using mod_file_string, but get an error "Error from mpg123: File access error. (code 22)", I assume this is due to the fact it is reading the file string as one file rather than 2 separated by the ! delimiter.
Thanks Michael! I had looked at mod_file_string before but had overlooked file_string:// I was setting playback_delimiter=! which was not working. For anyone trying to set this using js I have included an example below session.execute("set", "group_confirm_file=file_string://file1.mp3!file2.mp3"); session.execute("set", "group_confirm_key=5"); thanks Matt Matt Broad Tel: +44 (0)203 011 1313 <+44%2020%203011%201313> Web: www.supportedbusiness.com On 19 June 2017 at 17:46, Michael Jerris <mike@jerris.com> wrote:
https://freeswitch.org/confluence/display/FREESWITCH/ mod_dptools%3A+file_string <https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+file_string>
On Jun 15, 2017, at 5:54 AM, Matt Broad <matt@supportedbusiness.com> wrote:
Hi,
I'm wondering if it is possible to play multiple files using the group_confirm_file function.
I have 2 audio files that I would like to play 1 after the other and then wait for the confirm key.
I have tried using mod_file_string, but get an error "Error from mpg123: File access error. (code 22)", I assume this is due to the fact it is reading the file string as one file rather than 2 separated by the ! delimiter.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
participants (2)
-
Matt Broad
-
Michael Jerris