On Thu, 19 Aug 2010, Carlos Chavez wrote: > I am making a web interface so users can manage their voicemail. > The only problem I have is that since the Web server and Asterisk run as > different users I need to run some commands through Asterisk so I can > manipulate the voicemail files. > > I know that from the CLI I can user the "!" commando to run any > external shell command but when I try to do it from the Manager API > using "Command" I cannot get it to work. Since the web server cannot > erase or modify files I need to go through Asterisk to execute rm or mv. > > Is there an easier way to do this (without changing the user for > Apache)? Is it possible to use the ! command from the Manager?
1) Change the user for Asterisk. 2) man sudo -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards [email protected] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _____________________________________________________________________ -- 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
