On Mon, 12 Oct 2009, Dan Journo wrote: > I'm working on a call recording solution. I would like recordings to > either be automatically uploaded via FTP, or posted to a URL for > processing by our main server. > > Is Asterisk capable of doing this or will I have to create a separate > application that monitors a temp directory for new recordings? > > I ask because I don't have any experience in Linux programming, so I > won't be able to create a monitoring program on my own.
There is no built in facility -- but there are all the "parts." There is the curl() application, but I don't know if it exposes enough "curl" to upload files. There is the system() application which will let you execute any command line you can construct. There is the agi() application which lets an external program interact with the dialplan. Monitoring a temp directory with an external program would be the "worst" way. Personally, I would wrap up the entire "call recording solution" in an AGI so you have a full featured language (my preference is C) and can hide all the ugly details and keep your dialplan simple and maintainable. I've done these kind of applications where either a "control file" needed to be written and uploaded with the recording or a database needed updating. Both of these can get ugly in a dialplan. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users