Record Calls As BLOB Into MySQL?

Home » Asterisk Users » Record Calls As BLOB Into MySQL?
Asterisk Users 4 Comments

Hello all,

is it possible, to record calls directly as BLOB into a MySQL database?

Best regards Stefan

4 thoughts on - Record Calls As BLOB Into MySQL?

  • 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.

    From: asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.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?

    Hello all,

    is it possible, to record calls directly as BLOB into a MySQL database?

    Best regards Stefan

  • 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