[asterisk-users] Playback/background audio from MySQL BLOB

Don Kelly dk at donkelly.biz
Tue Sep 23 15:06:19 CDT 2014


On 09/23/2014 02:17 PM, Steve Edwards wrote:
> For some applications, storing recorded audio (prompts and caller
> recordings) as a BLOB in MySQL has advantages.
Jeff sez:
How about a named pipe (fifo)?  Of course then you might have issues with
simultaneous calls.  You would have to have a pool of them and somehow
manage locking them...

J

I'm curious about what the advantages are of storing audio in a blob.
Wouldn't it be more efficient to store it in a file and just put the
filename in the database?

  --Don





More information about the asterisk-users mailing list