[Asterisk-Users] Monitor with Mp3 format

Steven Critchfield critch at basesys.com
Tue May 27 10:40:05 MST 2003


On Tue, 2003-05-27 at 11:24, John Todd wrote:
> Though I think .mp3 encoding is an interesting idea, even though 
> inefficient at some levels.  One benefit is that there are dozens of 
> .mp3 players on the market, with extremely sophisticated library 
> functions.  Being able to archive calls in one of the .mp3 library 
> programs might be of some use.  However, .wav is almost always 
> playable by those same programs, so perhaps only .gsm is problematic 
> (sorry, not a Windoze expert, don't know the apps there very well.)

.gsm files can be converted quickly after the fact with sox. Sox should
just put the wav header on the front of the file that identifies the
codec and chunk sizes, then does the bit shifting to make a valid MSGSM
file. GSM codec is available on all windows systems by default.

> Another possible use for encoding into .mp3 would be to send the 
> output to a pipe, which would in turn connect to a streaming server 
> such as "shoutcast" or "icecast", which would in turn then allow lots 
> of "standard" applications to re-broadcast the audio stream.  The 
> lack of an paging (and intercom) feature most SIP phones is a 
> serious, serious problem in the business world and this might offer 
> another tool to partially get around that shortcoming.

If you wanted to pipe to a streaming server, you would probably pipe the
raw audio somewhere then have a encoder listening on that. It is more
inline with the way streaming is done for live streams.

> 
> >You can not record directly to mp3 anywhere in asterisk. It is not
> >something that would be truly wanted if you realized how much overhead
> >it would cause and how little you would gain from a gsm file. 
> >
> >On Tue, 2003-05-27 at 05:23, Thomas Haeger wrote:
> >>  Hi all,
> >>
> >>  i want to monitor channels with the "Monitor" app in mp3 formatted files.
> >>  But, if i use mp3 as first argument for the Monitor app, errors occurs....
> >>
> >>	WANRING[28689]: File file.c, Line 193 (ast_writestream): Unable to
> >>  translate to format mp3, source format 64
> >>
> >>	...following more "Warnings" .....
> >>
> >>  Is it not possible to monitor to mp3-files?
> >>
> >>  What's wrong?
> >>
> >>  Thanks for Help,
> >>
> >  > Thomas.
> >>
> >[snip]
> >--
> >Steven Critchfield <critch at basesys.com>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list