Asterisk early media RTP detection

Hello,

A bit tricky question, but hopes someone can put me into right direction. In some cases my provider is answering with 183 w/SDP, but than, after a few RTP packets of exchange, just stop sending RTP at all.
Now I’m trying to figure out with a provider the root cause, but as a workaround, is there an option or possibility in Asterisk to “monitor” media packets in Early Media and generate own is there is no media from other side? I’m pretty sure there is nothing like this embedded, but maybe someone can point on something worth looking at?

Cheers,
Ihor

There isn’t. There would also be the question of - what would it generate? Fake ringing?

Yep, actually fake ringing. Unfortunately, option r in Dial will not work, cause technical messages like “subscriber is not available” also sent via early media.

That sounds like a broken provider to mean. Unless you can tell us exactly how the provider is broken, it will be guesswork.

David,

Thanks. I’d say it’s not a guesswork, it’s really “broken behavior” and problem here is not to fix the provider infrastructure, I’m just trying to “workaround” this behavior on my side.
So idea is to monitor RTP activity in early media and if there is no RTP (or some low number of packets) - inject own stream.

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