[asterisk-users] How to use Monitor() in Python AGI

Steve Edwards asterisk.org at sedwards.com
Tue Feb 1 14:43:32 CST 2011


On Tue, 1 Feb 2011, Felix Dong wrote:

> How can I use the application Monitor() in the Python AGI skripts?

Use the exec AGI command.

I use C so  it looks something like this:

         exec_agi("exec MONITOR wav|%s/%02d-prompt|m"
                 , recording_path
                 , idx
                 );

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list