I am having problem in Asterisk 21.4.3 apparently some channels are active for few hours and are not getting hangup, they seem to get stuck.
Channel: PJSIP/axxonbot1-0000f6d7/SpeechBackground Up 01:41:48
Exten: 550 CLCID: "" <>
Channel: PJSIP/axxonbot1-000141fa/SpeechBackground Up 00:30:43
Exten: 550 CLCID: "" <>
Channel: PJSIP/axxonbot1-0000765e/SpeechBackground Up 04:24:34
Channel: PJSIP/axxonbot3-00002c78/SpeechBackground Up 17:02:58
Exten: 550 CLCID: "" <>
Channel: PJSIP/axxonbot3-00002c64/SpeechBackground Up 17:03:02
This is what channels are usually doing
PJSIP/axxonbot5-00002c72 550@default:20 Up SpeechBackground(silence,15)
PJSIP/axxonbot1-00012371 550@default:20 Up SpeechBackground(silence,15)
PJSIP/axxonbot5-00002c5b 550@default:20 Up SpeechBackground(silence,15)
PJSIP/axxonbot1-00012372 550@default:20 Up SpeechBackground(silence,15)
PJSIP/axxonbot1-00012375 550@default:20 Up SpeechBackground(silence,15)
PJSIP/axxonbot2-00012373 550@default:20 Up SpeechBackground(silence,15)
PJSIP/axxonbot1-00012341 550@default:20 Up SpeechBackground(silence,15)
PJSIP/axxonbot1-00012340 550@default:29 Up Playback(playback_files/pitch/
Also after few hours my asterisk is unreachable on port 5060 on other pbx system and I am getting this on the CLI
it starts working after I core restart the asterisk and its able to perform as it should but this is keep happening two three times a day which is disrupting the production how can I fix this?
I am using AEAP for the speech engine and yes when I am using “channel request hangup” it was getting hung up. But the problem lies that the asterisk stop working and it doesn’t take any more socket connections and call invites. I am not getting any verbose on the CLI
and when check the status of the asterisk it seems okay and I am able to access asterisk CLI but I am not getting anything on the CLI and it becomes unreachable on the other pbx system, unless I restart the asterisk again it starts working as it should.
root@ams-bot-1 ~ # sudo /var/lib/asterisk/scripts/ast_coredumper --running --no-default-search
No running asterisk instances detected.
If you know the pid of the process you want to dump,
supply it on the command line with --pid=<pid>.
root@ams-bot-1 ~ # asterisk -r
Asterisk 21.4.3, Copyright (C) 1999 - 2022, Sangoma Technologies Corporation and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 21.4.3 currently running on ams-bot-1 (pid = 4033290)
ams-bot-1*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
I am trying to run the backtrace but its giving me the error that asterisk instance is not detected even though I am able to access asterisk CLI during that time when it stopped working and looking at top there is no asterisk process running at the moment.
Anything that can be done to make it work. The issue is been increasing as it stops working 3 to 4 times a day on daily basis. I want to mitigate that. If pjsip channels stuck is causing it to stop is there a way I can automate to hangup the stuck pjsip channels?