In the Asterisk CLI "core show application ivr"   The IVR app is poorly 
documented, but I believe it may do what you need to do.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Yaroslav Panych
Sent: Friday, February 03, 2012 5:13 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 <[email protected]>:
> 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.

There is one problem: I have not any MOH class, and cannot pre-create it. File 
I will play does not exists until incoming call arrives, I even don't know its 
exact name.

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

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