Re: [Asterisk-Users] Monitor with Mp3 format

2003-05-27 Thread John Todd
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.)

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.

JT


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 [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Monitor with Mp3 format

2003-05-27 Thread Steven Critchfield
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 [EMAIL PROTECTED]
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield  [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users