On Thursday 06 Apr 2017, Atux Atux wrote:
> hi. i would like to be able to reboot the system from my extension. is that
> possible? if yes, how?
It's possible, with something this in extensions.conf;
exten => 99,1,NoOp(Restarting server now)
exten => 99,n,System(shutdown -r now)
Then
Please don't top post.
On Thu, Apr 06, 2017 at 08:16:34PM +0300, Atux Atux wrote:
hi. i would like to be able to reboot the system from my extension. is
that possible? if yes, how?
Στις 6 Απρ 2017 8:25 μ.μ., ο χρήστης "Tzafrir Cohen"
έγραψε:
System('sudo
Could you give some more details please?
Στις 6 Απρ 2017 8:25 μ.μ., ο χρήστης "Tzafrir Cohen" <
tzafrir.co...@xorcom.com> έγραψε:
> On Thu, Apr 06, 2017 at 08:16:34PM +0300, Atux Atux wrote:
> > hi. i would like to be able to reboot the system from my extension. is
> that
> > possible? if yes,
On Thu, Apr 06, 2017 at 08:16:34PM +0300, Atux Atux wrote:
> hi. i would like to be able to reboot the system from my extension. is that
> possible? if yes, how?
System('sudo /sbin/reboot')
You need to allow that in a sudoers file, of course. This may or may not
be a good idea.
There are a host
hi. i would like to be able to reboot the system from my extension. is that
possible? if yes, how?
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: