On Nov 10, 2007 7:34 PM, Vincent wrote: [...] > exten => _[1-4],n,TrySystem(mv /tmp/msg%d.wav /var/www/asterisk/) [...]
TrySystem is passing the cmd to (bash) shell, just give it a file match skeleton as long as you don't have other "msgNNN.wav" files that shouldn't be moved. so exten => _[1-4],n,TrySystem(mv /tmp/msg*.wav /var/www/asterisk/) should move the file(s), escape the * if needed using \* -- _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
