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

Yaroslav Panych panych.y at gmail.com
Fri Feb 3 16:13:10 CST 2012


2012/2/3 Danny Nicholas <danny at debsinc.com>:
> 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.



More information about the asterisk-users mailing list