Is there a way to output a raw TCP stream (not using http) from the SlimServer Linux version?
Reason: Asterisk v1.2 can use a utility called "StreamPlayer" to stream raw TCP output that will allow SlimServer to, well - serve, as the MOH provider for that PBX system without having to use MPG123 (another mp3 player).
If this were possible, it would be HUGE for the Asterisk community!
Thanks,
Rob
ps - Streamplayer uses the following format to access a stream:
application = /usr/bin/streamplayer 127.0.0.1 9000
Note that there is no place for the /stream.mp3 - just a URL and port
Results 1 to 5 of 5
-
2006-09-18, 07:44 #1Junior Member
- Join Date
- Sep 2006
- Posts
- 3
Asterisk 1.2 Raw TCP Stream for MOH
-
2006-09-18, 08:10 #2
Have you tried this?
http://www.voip-info.org/wiki/view/U...+Music+on+Hold
-
2006-09-18, 12:05 #3Junior Member
- Join Date
- Sep 2006
- Posts
- 3
Yes
I tried that first - several days ago, with no success. I have tried just about every implementation of MPG123 with very limited results and none of them acceptable.
Back to the original question with an addition: Is there a way to limit to 8k on the stream from SlimServer? (can't get much better on a phone) - I did not see where the drop-down option allowed for it.
Thanks,
RobLast edited by rchadwel; 2006-09-18 at 13:36. Reason: Grammar Error
-
2006-09-18, 13:50 #4Junior Member
- Join Date
- Jul 2006
- Posts
- 13
Re: Asterisk 1.2 Raw TCP Stream for MOH
rchadwel wrote:
> Back to the original question with an addition: Is there away to limit
> to 8k on the stream from SlimServer (can't get much better on a phone)
> - I did not see where the drop-down option allowed for it.
When you connect to the stream a new player will be created.
>From the web interface you can select that player and then
reach it's settings. Under the Audio section in the dropdown
you can select the Lame Quality Level and the Bitrate Limiting.
Just set Lame to "9 Poor Quality, but fast" and the Bitrate to
lowest, ie. 64kbps and you're set!
rgds
/andreas
-
2006-09-18, 14:23 #5Junior Member
- Join Date
- Sep 2006
- Posts
- 3
Getting Closer
Thanks for the reply. It seems that the server is now setup to stream correctly.
I am guessing that Slimserver can't send raw TCP, so has anyone used Format_mp3 (Asterisk 1.2 native player) to get mp3 streams from Slimserver?
What did your musiconhold.conf look like?
Thanks,
Rob

Reply With Quote

