29 Jul
2015
29 Jul
'15
11:42 a.m.
I'd like a macro that can play multiple sound files from a specific directory. eg. here's one that should (though I've not tested it!) play 3 sound files: phrase "xplay3:/home/pabx/004-3774/x,001,002,003" <macro name="xplay3"> <input pattern="(.*),(.*),(.*),(.*)"> <match> <action function="play-file" data="$1/$2.wav"/> <action function="play-file" data="$1/$3.wav"/> <action function="play-file" data="$1/$4.wav"/> </match> </input> </macro> What I'd like to do is one that can play an arbitrary number of files.