Hi! > > exten => 588,1,Answer > > exten => 588,2,Wait(1) > > exten => 588,3,Playback(restart-convenient) > > exten => 588,4,Wait(1) > > exten => 588,5,Authenticate(00000) > > exten => 588,6,System(/usr/sbin/asterisk -rx "restart when convenient") > > exten => 588,7,Hangup > > > > The problem: We never reach the "convenient" state because the SIP client > > will stay connected until priority 6 has been executed - so I locked > > myself in basically. Any suggestion how to accomplish this? With "restart > > now" there is no problem, but that's not what I want...
> >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. > You could use "at" to issue the command at a deferred time. Yes, sure, but this ain't that nice "asterisk only". :-> > You could always determine what you think is causing trouble that needs > a restart and fix it. In case you are interested as to why I am doing this (MGCP): http://bugs.digium.com/bug_view_page.php?bug_id=0000611 >You could cron this so it happens regularly and therefore > doesn't need a phone call to do it. That is already in place just in case there is no-one with knowledge around to trigger the reset when it is needed. However I don't want to restart too often... Cheers, Philipp _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
