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 [...@test_moh:2] MusicOnHold("SIP/arjankroon-00000000", "") 
in new stack
    -- Music class default requested but no musiconhold loaded.
[Dec 24 14:34:03] NOTICE[9030]: channel.c:4006 __ast_read: Dropping 
incompatible voice frame on SIP/arjankroon-00000000 of format gsm since our 
native format has changed to 0x4 (ulaw)

I'm using asterisk 1.8


Can anybody help me?

Kind regards,

Arjan Kroon
Mobillion BV


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to