Call Rates Announcement of provider suppressed by freepbx


(Faze) #1

Hello,

in germany there’s a concept named “call by call” which means that your calls get routed through another provider for cheaper rates by using a calling prefix. (Example: 01067-destination-number) This is especially interesting for calling to mobile networks or international numbers.

These providers do announce the current rate they charge at the beginning of the call, before it starts ringing he destination phone. For some reason, freepbx suppresses this announcement and instead plays the calling tone.

Interestingly, the providers announcement can be listened to in the recordings.

Any tips on how to fix this, so the user can hear the announcement?


#2

That is probably “early media”, you will need to force a generally premature ‘answer’ on the channel to hear it as it’s playing.


(Faze) #3

Yes, you’re right.

The issue here is that this specific provider does only signal 180 Ringing (not 183 Session Progress), which therefore leads to the phone not opening the media channel. Instead the phone plays local ringback.

Can anyone confirm that this is non-standards compliant by the provider?

I was able to mitigate this by setting inband_progress=yes manually for all my extensions in pjsip.endpoint_custom_post.conf like this:

[100](+)
inband_progress=yes

This forces asterisk to always send 183 Session Progress even if it didn’t receive that from the provider, which in turn, leads to the local phone opening the media channel.

Setting it on the trunk doesn’t help, and unfortunately it is not possible to set it for extensions through freepbx. :frowning:

Is there anyway to set this automatically for all extensions?


#4

Is http://lists.digium.com/pipermail/asterisk-dev/2019-January/077185.html your issue?


(system) closed #5

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