Asterisk don't hangup calls after Applying config

Hello there!

I am running into issues when FreePBX is under some load (25~50 simultaneous calls) and reload is performed (Apply config button in web interface). Sometimes (once per 2-4 weeks) asterisk got stucked in weird way, when any action or call can me done, but ended calls are not inserted into CDR database, and channels are not hanged up at all.

Asterisk seems to be trying autodestruct channels with no success until it’s restarted (CLI> core restart now). I tried to shoot down channels manually, unfortunately I wasn’t lucky with any CLI command I tried.

[2014-12-02 14:56:44] WARNING[8381] chan_sip.c: Autodestruct on dialog '4347079b2d542be744d2bf3773e803cb@<my IP>:5060' with owner SIP/UPLINK-000830fb in place (Method: BYE). Rescheduling destruction for 10000 ms
[2014-12-02 14:56:44] WARNING[8381] chan_sip.c: Autodestruct on dialog '[email protected]' with owner SIP/7125-00083144 in place (Method: BYE). Rescheduling destruction for 10000 ms
[2014-12-02 14:56:44] WARNING[8381] chan_sip.c: Autodestruct on dialog '304f73eb68896f35265516ca785bb924@<my IP>:5060' with owner SIP/UPLINK-00082b51 in place (Method: BYE). Rescheduling destruction for 10000 ms
[2014-12-02 14:56:44] WARNING[8381] chan_sip.c: Autodestruct on dialog '[email protected]' with owner SIP/7103-00082b50 in place (Method: BYE). Rescheduling destruction for 10000 ms
[2014-12-02 14:56:44] WARNING[8381] chan_sip.c: Autodestruct on dialog '51ff9c934e77630b2dc2f879526261f8@<my IP>:5060' with owner SIP/UPLINK-00083145 in place (Method: BYE). Rescheduling destruction for 10000 ms
[2014-12-02 14:56:45] WARNING[8381] chan_sip.c: Autodestruct on dialog '[email protected]' with owner SIP/2420-0008310d in place (Method: BYE). Rescheduling destruction for 10000 ms
[2014-12-02 14:56:45] WARNING[8381] chan_sip.c: Autodestruct on dialog '[email protected]' with owner SIP/2147-0008313e in place (Method: BYE). Rescheduling destruction for 10000 ms
[2014-12-02 14:56:45] WARNING[8381] chan_sip.c: Autodestruct on dialog '[email protected]' with owner SIP/2159-00083114 in place (Method: BYE). Rescheduling destruction for 10000 ms
[2014-12-02 14:56:45] WARNING[8381] chan_sip.c: Autodestruct on dialog '[email protected]' with owner SIP/2162-000830fa in place (Method: BYE). Rescheduling destruction for 10000 ms

I have already seen this message when MySQL database was under quite a load and query insert into CDR took about 8 secs (it’s due to some custom modification - triggers and generated reports) but in this case warning occurs just once or twice. When problem is triggered by config reload, warnings are increasingly spamming log and no more CDR record is saved into database.

To me it seems there is some race condition causing deadlock in asterisk core or CDR plugin, but unfortunately I am not able to inspect source code. Issues began when number of simultaneous calls exceeded 15~20 calls and I didn’t find any pattern of occurrence.

We found this issue in FreePBX version 1.814.210.58-1, but after upgrade to 1.818.210.58-1 is was OK for about 3 weeks but yesterday it returned.

I am now clueless and will be happy for any help or idea.

Were you able to resolve this issue ? What was the cause ? I ma having exactly same issue .

You might have a similar issues but not the exact. You’ve replied to a 4+ year old thread that was based on versions of FreePBX and Asterisk that are now EOL and unsupported. Along with the OS kernel being completely different.

Please open a new thread with details of your issue.