>Using system() you could issue a asterisk -rx 'core restart now'

So I tried this


exten => s,1,Playback(beep)
exten => s,n,Dial(Console/default,20,g)
exten => s,n,Hangup
exten => s,n,System(asterisk -rx 'core restart now')

But it does not continue. Last thing I see is "Exited non zero"
so its not doing the hangup or the system.

jerry
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to