Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So we have the PBXNsip PBX server. We want to hear shoutcast for the Music On Hold (MOH). They do offer an RTP for the MOH, but the music we want to hear is Shoutcast, and mp3 format.

Is anyone experienced with using mplayer/ffmpeg/ffserver to play the shoutcast stream, and send it to ffserver on a specific port or something so the pbxnsip server can use that port for RTP streaming?

I am not even sure ffserver is what I need but it sounds like it.

share|improve this question
up vote 0 down vote accepted

It turned out, pbxnsip listens on the RTP port you specify, BUT it only starts listening when you put a call on hold. Stream via VLC using:

cvlc http://[shoutcastip]:[shoutcastport] --loop --norm-max-level=5 --sout='#transcode{acodec=ulaw,samplerate=8000,channels=1,ab=16}:rtp{dst=[PBXNSIP IP],port-audio=[PBXNSIP MOH PORT]]

Currently Pbxnsip is having internal issues and they will soon be releasing a new executable; the issue is that the packet length is not the right size for RTP, or so they claim.

This thread may prove useful:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.