Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    3

    Asterisk 1.2 Raw TCP Stream for MOH

    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

  2. #2
    Former Squeezebox Guy andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396

  3. #3
    Junior 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,

    Rob
    Last edited by rchadwel; 2006-09-18 at 13:36. Reason: Grammar Error

  4. #4
    Junior 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

  5. #5
    Junior 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •