[Home]

Summary:ASTERISK-24593: Asterisk Hangs, All DAHDI Channels Off-Hook Or Ringing
Reporter:Vladimir Mikhelson (vmikhelson)Labels:
Date Opened:2014-12-03 21:45:41.000-0600Date Closed:2014-12-04 09:18:46.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_local
Versions:1.8.32.1 Frequency of
Occurrence
Occasional
Related
Issues:
Environment:Centos 5.11, FreePBX 2.11.0.42Attachments:
Description:So far it happened two (2) times, last time today.

All FXO channels went off-hook, FXS were constantly ringing. If I picked a handset there was a dead silence.  If I put it back on hook it would start ringing.

FreePBX interface would not operate properly. Specifically it was slow to authenticate, then some irrelevant messages were presented in the upper left corner of the browser tab.

I tried to execute "core stop now" on the console and it would just hang.

I was able to stop the Asterisk by connecting from another session and executing "core stop now" the second time.

After the restart everything is back to normal.

Technical details.

/var/log/asterisk/full shows a number of messages like the following:
[2014-12-03 13:24:29] WARNING[31947] channel.c: Exceptionally long voice queue length queuing to Local/414@from-internal-00000165;1
[2014-12-03 13:24:30] WARNING[31947] channel.c: Exceptionally long voice queue length queuing to Local/414@from-internal-00000165;1
[2014-12-03 13:24:31] WARNING[31947] channel.c: Exceptionally long voice queue length queuing to Local/414@from-internal-00000165;1
[2014-12-03 13:24:33] WARNING[31947] channel.c: Exceptionally long voice queue length queuing to Local/414@from-internal-00000165;1

/var/log/messages shows a huge number of messages similar to the below at about an hour and a half before Asterisk finally hang up:

Dec  3 12:30:14 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 2 (04) framecount=333123791
Dec  3 12:30:14 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=64 lasttxhook=04 framecount=333123797
Dec  3 12:30:16 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 1 (06) framecount=333125791
Dec  3 12:30:16 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=46 lasttxhook=06 framecount=333125797
Dec  3 12:30:20 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 2 (04) framecount=333129791
Dec  3 12:30:20 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=64 lasttxhook=04 framecount=333129797
Dec  3 12:30:22 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 1 (06) framecount=333131791
Dec  3 12:30:22 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=46 lasttxhook=06 framecount=333131797
Dec  3 12:30:26 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 2 (04) framecount=333135791
Dec  3 12:30:26 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=64 lasttxhook=04 framecount=333135797
Dec  3 12:30:28 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 1 (06) framecount=333137791
Dec  3 12:30:28 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=46 lasttxhook=06 framecount=333137797
Dec  3 12:30:32 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 2 (04) framecount=333141791
Dec  3 12:30:32 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=64 lasttxhook=04 framecount=333141797
Dec  3 12:30:34 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 1 (06) framecount=333143791
Dec  3 12:30:34 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=46 lasttxhook=06 framecount=333143797
Dec  3 12:30:38 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 2 (04) framecount=333147791
Dec  3 12:30:38 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=64 lasttxhook=04 framecount=333147797
Dec  3 12:30:40 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 1 (06) framecount=333149791
Dec  3 12:30:40 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=46 lasttxhook=06 framecount=333149797
Dec  3 12:30:44 pbx kernel: wctdm24xxp 0000:02:0c.0: Setting FXS hook state to 2 (04) framecount=333153791
Dec  3 12:30:44 pbx kernel: wctdm24xxp 0000:02:0c.0: SLIC_LF OK: card=3 shadow=64 lasttxhook=04 framecount=333153797

No core dump was produced.
Comments:By: Matt Jordan (mjordan) 2014-12-04 09:18:37.314-0600

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.8 branch has ended. For continued maintenance support please move to the 11 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions.  After testing with Asterisk 11, if you find this problem has not been resolved, please open a new issue against Asterisk 11.