Ringback tone detection

Hello,

when I place a call over a SIP trunk, in ideal world I would get “180 ringing” when the phone on the other side starts ringing. But in most cases, I get “183 session progress” and audio starts flowing from the other side. Looking at AMI events, there is no way to know what is being played - could be ringback tone, could be an automated message telling you that you’ve misdialed, could be silence. Does Asterisk have a way to detect an actual ringback tone?

No, there is no functionality to do that.