[asterisk-users] Script to softly restart Asterisk each midnight to clean locked channels

2009-03-19 Thread Mindaugas Kezys
As Asterisk has inner problems and channels very often locks we have such script to restart Asterisk each midnight. We (our clients) mostly use v1.4.18.1. We can't upgrade to newer versions because there are too much changes which would brake our system (realtime/sip/iax2/cdr/etc/etc).

Re: [asterisk-users] Script to softly restart Asterisk each midnight to clean locked channels

2009-03-19 Thread Miguel Molina
Mindaugas Kezys escribió: As Asterisk has inner problems and channels very often locks we have such script to restart Asterisk each midnight. snip That is the things we must help to solve for not having to do to something like this on asterisk servers. Fortunately I use 1.4.22 version

Re: [asterisk-users] Script to softly restart Asterisk each midnight to clean locked channels

2009-03-19 Thread J. Oquendo
On Thu, 19 Mar 2009, Miguel Molina wrote: Mindaugas Kezys escribi?: As Asterisk has inner problems and channels very often locks we have such script to restart Asterisk each midnight. snip Why restart Asterisk, free up the channel... From cron, you can clear up any calls over say 3

Re: [asterisk-users] Script to softly restart Asterisk each midnight to clean locked channels

2009-03-19 Thread Mindaugas Kezys
: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Miguel Molina Sent: 2009 m. kovo 19 d. 17:47 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Script to softly restart Asterisk each midnight to clean locked

Re: [asterisk-users] Script to softly restart Asterisk each midnight to clean locked channels

2009-03-19 Thread Tzafrir Cohen
On Thu, Mar 19, 2009 at 06:37:26PM +0200, Mindaugas Kezys wrote: Any guidelines how to solve locked channels problems? E.g. to find out which part of the code has problems and causes locks. Build Asterisk with locking debugging? (sure, this hurts performance, but one day with decreased

Re: [asterisk-users] Script to softly restart Asterisk each midnight to clean locked channels

2009-03-19 Thread Mindaugas Kezys
...@lists.digium.com] On Behalf Of J. Oquendo Sent: 2009 m. kovo 19 d. 18:33 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Script to softly restart Asterisk each midnight to clean locked channels On Thu, 19 Mar 2009, Miguel Molina wrote: Mindaugas Kezys escribi