live audio stream in asterisk

Home » Asterisk Users » live audio stream in asterisk
Asterisk Users 4 Comments

Hi,

Is it possible to use a live audio stream in asterisk

I want to call a number and then hear an external audio stream.
For example http://www.radioveronica.nl/radioveronicaplayer/radioveronica.asx

I thought it was possible to use musiconhold, but I did not get it working.

This is my musiconhold.conf
;
; Music on Hold — Sample Configuration
;
[general]

[default]
mode=custum
directory=/var/lib/asterisk/mohmp3/stream,http://www.radioveronica.nl/radioveronicaplayer/radioveronica.asx

This is my extension.conf
exten => _X.,1,Answer
exten => _X.,n,MusicOnHold()

If I look in the CLI I get the following error:
Executing [s@test_moh:2] MusicOnHold(“SIP/arjankroon-00000000”, “”) in new stack

4 thoughts on - live audio stream in asterisk