On an Asterisk 13.
Using Lumenvox, occasionally the PJSIP channel will lockup while attempting to setup a speech channel.
When the channel locks up, the log shows:
Autodestruct on dialog ‘firstname.lastname@example.org:5060’ with owner SIP/BBY-Dedicated-01-000000e9 in place (Method: BYE). Rescheduling destruction for 10000 ms
BUT, the message repeats every 6 sec. I’m assuming that resets the auto destruct timer and it never gets to 10 sec.
The Set(TIMEOUT(absolute)=300) does not work.
Using Hangup Request does not work.
Tried to use AMI to “Transfer” the call to a dialplan that kills the call, but an error gets returned saying the channel does not exist.
So far, only “core restart now” works to clear the stuck channels.
I could setup a CRON Job to run a PHP to check if there are stuck calls and restart if needed every night, but would rather detect the struck call and try to disconnect the channel ASAP.
Can a PJSIP notify be used to force send a BYE message? If so, how.
Upgrading, at this point, is not an option at this time.
TIA for any advise you can give.