In my dialplan I am recording two files in wav format…
[code]exten => s,1,agi(googletts.agi,“After the tone, please state your name followed by the pound sign”)
exten => s,2,Record(name%d:wav)
exten => s,1,agi(googletts.agi,“After the tone, please state your id followed by the pound sign”)
exten => s,2,Record(id%d:wav)
I need to merge them into one file and then insert it into a mysql database (not a database used by asterisk). Any tips?
You can use SOX to merge them into one file. Then save the file in an specific folder. and save the path to a MYSQL DB using PHPAGI class or any other way you prefer
Thank you about the sox tip. That looks great! These sound files are needed on a remote server, not the asterisk server. I intended to save them in the db because that is easy. If I don’t save them in the db I need a mount of some sort (nfs?) or ftp??? Using the file system makes it much more complex. Any thoughts?