is it possible, to record calls directly as BLOB into a MySQL database?
Best regards Stefan
Probably “possible” but not recommendable. You have no idea how long your call will or will not be. It would be better to record the call into a wav or gsm file, then put that into the blob.
[mailto:email@example.com] On Behalf Of Stefan at WPF
Sent: Friday, August 31, 2012 10:22 AM
To: Asterisk Users Mailing List – Non-Commercial Discussion Subject: [asterisk-users] Record calls as BLOB into MySQL?
do you mean better put the filename into the database?
2012/8/31 Danny Nicholas
Yes, it’s possible, with some heavy hacking (and it ends up creating an unredistributable binary — you can’t comply with all the provisions of all the licences involved, and the only thing allowing you to use it at all is the fair dealing provision of copyright law); but the real question is, *why*
would you want to do it?
Unix already provides a perfectly good filesystem for storing files. Just record your call to a file as normal, and stick the filename and whatever metadata you like in the database. Job’s a good ‘un!
Why not use use voicemail odbc storage engine and it will store your voicemail files is MySQL as BLOBs
Sent from my iPhone