29 Jul
2015
29 Jul
'15
1:06 p.m.
OK - Got this working. Just in case anyone is interested: <macro name="xplayN"> <input pattern="^([^,]*),([^,]*),(.*)$"> <match> <action function="play-file" data="$1/$2.wav"/> <action function="play-file" data="phrase:xplayN:$1,$3"/> </match> </input> <input pattern="^([^,]*),([^,]*)$"> <match> <action function="play-file" data="$1/$2.wav"/> </match> </input> </macro> Example of use: <action application="playback" data="phrase:xplayN:/home/pabx/004-3774/x,001,0211,0221,0231"/>