Hang up call with Python

Hey, so I have an asterisk server running on a VM. I have the speech-recog and tts files already configured into asterisk. It’s connected to my chatbot.
When a call ends, instead of hanging up the call, asterisk keeps listening…
How do I send a command to hang up once a “bye” message has been uttered by asterisk??

Asterisk will release the session once it receives an OK to its BYE, and a period of time has passed. It will release the channel once no dial plan is running on it

If that is not the case here, you need to provide logs, dialplans and configurations.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.