Disable sending reinvite before BYE

Hi, Asterisk sends a reinvite message before sending BYE. how can disbale it on asterisk 16. Thanks.

Don’t use direct media.

The channel driver does not know that the dialplan/Stasis application are not going to send more media to the channel at that point. You could also modify the source code of the channel driver(s) that you are using, but that will break, for example, the g option of Dial, and the f option of Queue.

What is the problem that you are trying to solve?

1 Like

Thank you david551. setting direct_media to “no” solved my problem. there is no INVITE message before BYE anymore

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