Philipp von Klitzing <[EMAIL PROTECTED]> said: >> >exten => 588,6,System(/usr/sbin/asterisk -rx "restart when convenient") >> > >> Put an & behind the line? > >It does help to get a proper hang up for the client, but there is no >restart initiated at all... looks like now the system calls gets >cancelled due to the fact that the client is gone. > Ah. Then put a 'nohup' in front of it:
System(nohup /usr/sbin/asterisk -rx "restart when convenient" >&/dev/null &) Should do it. >> You could use "at" to issue the command at a deferred time. > >Yes, sure, but this ain't that nice "asterisk only". :-> > Well, probably he meant: System(echo '/usr/sbin/asterisk -rx "restart when convenient"' | at now) -- Cees de Groot http://www.tric.nl <[EMAIL PROTECTED]> tric, the new way helpdesk/ticketing software, VoIP/CTI, web applications, custom development _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
