User Tools

Site Tools


kb:audio-services

This is an old revision of the document!


Audio Services Setup

So you want to host an audio service on the HH network? HHOPS does not care about the content so long as it is appropriate for minors who may dial it. Anything found to be to the contrary will be investigated by HHOPS and the audio service number reclaimed.

What do I need to host?

To host an audio stream, you will require the following:

  • An Asterisk-based PBX (sorry no 3CX)
  • UDP port 4569 forwarded inbound to your PBX on your firewall
  • A public DNS hostname for your PBX (sorry we will NOT accept an IP address)
  • An audio source (usually a MOH class) defined in your MOH config
  • A call queue to host the MOH class audio within
  • An inbound route for the assigned 7xxx audio services number you receive from HHOPS
  • Open an HHOPS ticket to properly request a 7XXX assignment for your audio

I have an audio stream, How to set it up on my PBX as a MOH class?

To setup an existing audio stream within the MOH (Music on Hold) facility on your PBX, do the following (within FreePBX):

Go to “SETTINGS”, then “Music On Hold”, then “Add Category”, give it a name, then change “Type” from “Files” to “Application”. In “Category Name” give it a short name, then save it.

Once saved, go back and click on it, and in the “Application” field, put the following:

/usr/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 1024 http://mywebstream:8000/mountpoint

In the above example, you would use your own stream URL. Once entered, leave “Optional Format” clear and click SAVE. Now go create your call queue, set the new MOH class you just defined, and then create an INBOUND route to send matched calls from your 7xxx number to go straight to your new queue.

At this point, your audio feed is ready to be live on HH as soon as HHOPS assigns your 7xxx number.

kb/audio-services.1629905958.txt.gz · Last modified: 2021/08/25 15:39 by k1wiz