[asterisk-users] Re: System from AMI

Tomislav Parcina tomislav.parcina at email.t-com.hr
Thu Mar 29 23:56:57 MST 2007


Richard Lyman wrote:
> if you are unable to get '!' to work...
> 
> there are other ways of doing this.
> 
> manager originate can do this, use a local channel and point it at 
> either a context/exten with an echo/system call,

You mean like this?
[testdelete]
exten => myexten,1,System(rm /tmp/test.txt)
exten => myexten,2,Hangup

Action: Originate
Channel: SIP/987987
Context: testdelete
Exten: myexten
Priority: 1
Callerid: 987987
Timeout: 30000
ActionID: uniqueID

Can I use this in production use? I need to execute this up to 1000 
times a day (in period of few hours).

> or with the application/data method.

Can you please show me some example?


-- 
Tomislav Parcina
firstname.lastname at email.t-com.hr



More information about the asterisk-users mailing list