Hi, Sometimes my asterisk server stops. (after a day or two) Last output from CLI is: -------------------------------- -- Registered SIP '000b82017eb7' at 213.237.12.125 port 11620 expires 120 -- Channel 0/26, span 1 got hangup -- Hungup 'Zap/26-1' voip1*CLI> Disconnected from Asterisk server Executing last minute cleanups Asterisk cleanly ending (0). -------------------------------- I had tried both asterisk stable, 1.0.3 and several CVS-versions. Any clue how to solve this provblem ? By the way, if I do a 'restart now', asterisk only stops and doesn't start again. /HH
I'm reasonably sure that if you do the restart now that asterisk does restart in the background, but you will be kicked out of the CLI. You'll have to reconnect to it. I am assuming that you're running asterisk in the background to begin with? If not, then I'm not sure how it behaves. This has been my experience anyhow. __ Dana Olson -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]On Behalf Of hhandresen Sent: Tuesday, January 04, 2005 3:00 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Asterisk stops - why ? Hi, Sometimes my asterisk server stops. (after a day or two) Last output from CLI is: -------------------------------- -- Registered SIP '000b82017eb7' at 213.237.12.125 port 11620 expires 120 -- Channel 0/26, span 1 got hangup -- Hungup 'Zap/26-1' voip1*CLI> Disconnected from Asterisk server Executing last minute cleanups Asterisk cleanly ending (0). -------------------------------- I had tried both asterisk stable, 1.0.3 and several CVS-versions. Any clue how to solve this provblem ? By the way, if I do a 'restart now', asterisk only stops and doesn't start again. /HH _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Disclaimer: The information transmitted in this message is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination, or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this message in error, please contact the sender and delete the material from any system.
hhandresen wrote:> Hi, > > Sometimes my asterisk server stops. (after a day or two) > > Last output from CLI is: > > -------------------------------- > > -- Registered SIP '000b82017eb7' at 213.237.12.125 port 11620 expires 120 > -- Channel 0/26, span 1 got hangup > -- Hungup 'Zap/26-1' > voip1*CLI> > Disconnected from Asterisk server > Executing last minute cleanups > Asterisk cleanly ending (0). > > -------------------------------- > > I had tried both asterisk stable, 1.0.3 and several CVS-versions. > > Any clue how to solve this provblem ? > > By the way, if I do a 'restart now', asterisk only stops and doesn't > start again. > > /HHSeems pretty strange. Do you get any debug messages? Anyway in the meantime, make sure you are using safe_asterisk to start asterisk with (it will restart the server if anything goes wrong). You also have to bear in mind that this will kick off the console (you will have to type asterisk -vvvgrcddd to restart the console - the g in that line means dump core if anything goes wrong. Assuming you are running with safe_asterisk, the core file will be dropped into /tmp. You can then do a backtrace on this with gdb (there is more info on how to do this on the wiki). -- Cheers, Matt Riddell _______________________________________________ Daily Asterisk News: http://www.sineapps.com/news.php for html http://www.sineapps.com/rssfeed.php for rss