Re: [asterisk-users] Entering code to restart the machine

2008-02-27 Thread Alex Balashov
Steve Totaro wrote: > The way I read the OP, he wishes to reboot the box, not just restart > asterisk. In which case, simply having > exten=777,1,Authenticate(whatever) > exten=777,n,System(reboot) Ah, yes, you are indubitably correct. -- Alex Balashov Evariste Systems Web: http://www.evar

Re: [asterisk-users] Entering code to restart the machine

2008-02-27 Thread Rodrigo Gonzalez
Steve Totaro escribió: On Wed, Feb 27, 2008 at 10:26 AM, Alex Balashov <[EMAIL PROTECTED]> wrote: bilal ghayyad wrote: > Hi All; > > How can I configure Asterisk in that way: > > If I entered code (from my mobile when I call to the > Asterisk or from any Internal Phone), then the machin

Re: [asterisk-users] Entering code to restart the machine

2008-02-27 Thread Steve Totaro
On Wed, Feb 27, 2008 at 10:26 AM, Alex Balashov <[EMAIL PROTECTED]> wrote: > bilal ghayyad wrote: > > Hi All; > > > > How can I configure Asterisk in that way: > > > > If I entered code (from my mobile when I call to the > > Asterisk or from any Internal Phone), then the machine > > do resta

Re: [asterisk-users] Entering code to restart the machine

2008-02-27 Thread Alex Balashov
bilal ghayyad wrote: > Hi All; > > How can I configure Asterisk in that way: > > If I entered code (from my mobile when I call to the > Asterisk or from any Internal Phone), then the machine > do restart. I need this when I am far from the office > and I need to restart the machine and I do not h

Re: [asterisk-users] Entering code to restart the machine or reload iax

2008-02-27 Thread bilal ghayyad
Dear Atik; Thanks a lot, another thing if possible: A code to be entered, then it will execute some asterisk commands like: asterisk -rx "iax2 reload"? Any advise? Regards Bilal - try System() application in dialplan to execute linux reboot command. On Wed, Feb 27, 2008 at 5:24 P

Re: [asterisk-users] Entering code to restart the machine

2008-02-27 Thread atik
try System() application in dialplan to execute linux reboot command. On Wed, Feb 27, 2008 at 5:24 PM, bilal ghayyad <[EMAIL PROTECTED]> wrote: > Hi All; > > How can I configure Asterisk in that way: > > If I entered code (from my mobile when I call to the > Asterisk or from any Internal Phone)

[asterisk-users] Entering code to restart the machine

2008-02-27 Thread bilal ghayyad
Hi All; How can I configure Asterisk in that way: If I entered code (from my mobile when I call to the Asterisk or from any Internal Phone), then the machine do restart. I need this when I am far from the office and I need to restart the machine and I do not have Internet connection. Any help?