[asterisk-users] How to play audio file in background in dialplan?

Danny Nicholas danny at debsinc.com
Fri Feb 3 15:55:41 CST 2012


In my PERL AGI I use
- print STDOUT "SET MUSIC ON HOLD DEFAULT\n";
- print STDOUT "SET MUSIC ON HOLD OFF\n";

Ignore the "-" - stupid outlook needs them.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Yaroslav
Panych
Sent: Friday, February 03, 2012 3:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to play audio file in background in
dialplan?

2012/2/3 Danny Nicholas <danny at debsinc.com>:
> <start music>
> Fork or shell task 1
> Fork or shell task 2
> <stop music>

What exactly commands I should invoke in AGI instead of <start music> and
<stop music> ?
STREAM FILE returns only after file ends, this is not what I want.

--
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list