Re: [asterisk-users] Re: System from AMI

2007-03-30 Thread Richard Lyman
Tomislav Parcina wrote: Richard Lyman wrote: *snipped fyi: manager originate is channel + context + exten + priority OR channel + application + data not both. So, you are saying that this should look like this? Action: Originate Channel: Local/[EMAIL PROTECTED] Application: System Data:

Re: [asterisk-users] Re: System from AMI

2007-03-29 Thread Richard Lyman
Tomislav Parcina wrote: Lee Jenkins wrote: You have to login into the AMI server with proper credentials and send commands. *snipped OK, maybe he doesn't show output, so I have tried this: Action: Command Command: ! rm /tmp/test.txt Response: Follows Privilege: Command --END COMMAND-- But

Re: [asterisk-users] Re: System from AMI

2007-03-29 Thread Lee Jenkins
Tomislav Parcina wrote: Lee Jenkins wrote: You have to login into the AMI server with proper credentials and send commands. Hi Lee! Thank you for your mail. I do login to the Asterisk 5038 port and I have all credentials. What I'm asking is what Action allows me to execute system command.

RE: [asterisk-users] Re: System from AMI

2007-03-29 Thread Alexander Lopez
- Commercial Discussion Subject: Re: [asterisk-users] Re: System from AMI Tomislav Parcina wrote: Lee Jenkins wrote: You have to login into the AMI server with proper credentials and send commands. Hi Lee! Thank you for your mail. I do login to the Asterisk 5038 port and I have

Re: [asterisk-users] Re: System from AMI

2007-03-29 Thread Lee Jenkins
Alexander Lopez wrote: It is a HUGE workaround but in concept it should work. You will need to build completion confirmation into your script as you will always get a success code from the manager. Action: Originate Application: System Data: /path/to/script Channel: Local/[EMAIL PROTECTED]

Re: [asterisk-users] Re: System from AMI

2007-03-29 Thread Richard Lyman
Alexander Lopez wrote: It is a HUGE workaround but in concept it should work. You will need to build completion confirmation into your script as you will always get a success code from the manager. Action: Originate Application: System Data: /path/to/script Channel: Local/[EMAIL PROTECTED]

RE: [asterisk-users] Re: System from AMI

2007-03-29 Thread Alexander Lopez
: [asterisk-users] Re: System from AMI Alexander Lopez wrote: It is a HUGE workaround but in concept it should work. You will need to build completion confirmation into your script as you will always get a success code from the manager. Action: Originate Application: System Data: /path