On 11/25/12 10:53, Mikhail Lischuk wrote:
  Joseph wrote 25.11.2012 02:12:


       ebegin "Stopping asterisk PBX gracefully"
       /usr/sbin/asterisk -r -x "core stop gracefully" &>/dev/null
       # Now we have to wait until asterisk has _really_ stopped.


  As you can see, it is trying to execute "core stop gracefully". I don't
  know why it wont shutdown, or maybe it would but you can't wait till it
  happens, so I can't help in troubleshooting.

  But if you need a quick workaround to be able to shut down without
  killing process - change it to "core stop now". It should shut the
  Asterisk down immediately, dropping all active calls.

--
With Best Regards
[1]Mikhail Lischuk

Good suggestion, thank you.
I've modified the scrip and will monitor it for a week.

--
Joseph

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to