[Asterisk-Dev] Patch to monitor() to test

Olle E. Johansson oej at edvina.net
Mon Apr 5 23:02:17 MST 2004


There's a patch in bugs.digium.com that needs testing and comments:
http://bugs.digium.com/bug_view_page.php?bug_id=0001268

Thank you for your assistance!

/Olle



Description by author:
----------------------------

  Update monitor app to:

a) have an option to exec a custom script with the individual file legs or soxmixed file as paramers once the monitor resource releases the 
files.

b) Ensure that all parameters are available to the monitor aplication from the manager interface.
Additional Information 	My primary reason for wanting to do this, is the ability to issue a monitor command on a channel from the 
administrator interface and have the file e-mailed to a specified address once the call is done and the soxmix option executes.

A more general approach in my mind is to exec a script or executable that is specified to the monitor app or administrative command. The 
scipt would get executed once the recording files are safely closed, and would receive the names of the recorded or mixed file(s) as command 
line parameters.

I can see value here for not only e-mailing the files, but mpeg'ing them off line (non blocking) or archiving them and inserting info into 
an archiving database.

I hope to be working on this in the next few weeks. But if someone is just chomping at the bit to do something like this or in process, 
please let me know.




More information about the asterisk-dev mailing list