Hi All,

I am trying to create a file and remove a file in the /etc directory with the dial plan

here is what I have

[custom-support_off]
exten => 330,1,Answer()
exten => 330,2,Authenticate(7877678)
exten => 330,3,Playback(welcome)
exten => 330,4,System(echo off > /etc/nologin.ttyS0)
exten => 330,5,Hangup()

[custom-support_on]
exten => 331,1,Answer()
exten => 331,2,Authenticate(7877678)
exten => 331,3,Playback(welcome)
exten => 331,4,System(rm /etc/nologin.ttyS0)
exten => 331,5,Hangup()

it runs through the process and the cli show it functioning, but the file never gets created or deleted.

Thanks for the help


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to