[asterisk-dev] ODBC stored voicemail blob object format

Donny Kavanagh donnyk at gmail.com
Thu Nov 26 09:11:22 CST 2009


If thats the case, you should double check that and if you can confirm it
post a bug to the issue tracker.  Make sure its not just the header your
sending via the http request for the blob from the adobe flash player.

On Thu, Nov 26, 2009 at 9:53 AM, Nir Simionovich
<nir.simionovich at gmail.com>wrote:

> Hi Kai,
>
>  that's exactly it, when writing to a file, the file is perfectly a
> valid WAV. When the ODBC storage engine is used,
> the BLOB object created isn't a valid WAV object.
>
> Nir
>
> Kai Hörner wrote:
> > Hi,
> >
> > i was just asking, because i used some flash media player once to
> > playback asterisk voicemails .. and it worked fine.
> >
> > this was in times of asterisk 1.2 though, but i'm unable to believe
> > that PCM support has been broken over time.
> >
> > i guess some of the core developers would have answered "there already
> > is proper WAV support in asterisk", but they're all on thanksgiving
> > holidays.
> >
> > I believe the problem is somewhere on the flash side. (or database, or
> > you rest application)
> >
> > you can try the following to confirm what i'm saying:
> > - define a test mailbox that is written to disk using wav/wav49
> > - record one voicemail for testing
> > - playback this wav file with one of the plenty free flash media players
> >
> > can you write voicemails to disk and ODBC?
> > that would allow you to compare the data.
> >
> >
> > HTH,
> >
> > Kaii
> >
> >
> >
> > Nir Simionovich schrieb:
> >> Oh yes, of course - been there, done that.
> >>
> >> Nir S
> >>
> >> Kai Hoerner wrote:
> >>
> >>> Hello Nir,
> >>>
> >>> have you already tried replacing the format "WAV" with "wav49" in
> >>> voicemail config? (or vice versa)
> >>>
> >>>
> >>> Regards,
> >>>
> >>> Kaii
> >>>
> >>>
> >>> Nir Simionovich schrieb:
> >>>
> >>>> Hi all,
> >>>>
> >>>>   I've developed a REST based API that is capable of fully
> >>>> integrating with the ODBC storage and management
> >>>> engine for app_voicemail. However, I've reached somewhat of an
> >>>> impass when trying to playback messages
> >>>> stored as BLOBs using a Flash Player.
> >>>>
> >>>>   In general, I gathered the the BLOB object stored in the database
> >>>> isn't a full WAV file format, and actually is
> >>>> a RAW ADPCM file, which is playable from a standard media player.
> >>>> However, the file in non-playable from
> >>>> an ADOBE based flash player - which requires a fully standard WAV
> >>>> file.
> >>>>
> >>>>   Questions that arise in this case are:
> >>>> 1. Is there a method to convert the stored BLOB to a valid WAV format?
> >>>> 2. Adding proper WAV support to Asterisk, is it feasible?
> >>>> 3. Is there an external method of converting from the RAW format to
> >>>> proper WAV? (tried SOX with no success).
> >>>>
> >>>>   I'm not an audiophile, so I'm kind'a of at a loss here.
> >>>>
> >>>> Cheers,
> >>>>   Nir S
> >>>>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20091126/010c9ac1/attachment.htm 


More information about the asterisk-dev mailing list