Multicast RTP Ringtone

Hello community! I’m new to asterisk and still learning… right now i have setup multicast to page my home phone extensions. Paging works fine aside from a little issue, i set it up to play a custom tone at the beginning of the page. The problem is when the caller starts to speak, the first part of the paging is being cutoff by the custom ringtone. The ringtone needs to finish playing before the voice of the caller go thru the multicast page thus cutting the first part of the paging. The caller side have no way to know if the ringtone is done playing because the tone is not heard on the caller end so its pretty much a hit or miss.

is there a better way of doing this? the goal is to page all extensions with a ringtone at the beginning just to notify the extensions before the caller starts to speak.

below is my dial plan, hope it someone can point me for a fix thanks!

exten => 6,1,Answer()
exten => 6,n,Set(TIMEOUT(absolute)=20)
exten => 6,n,Dial(MulticastRTP/basic/224.0.0.124:1008,,gA(/var/lib/asterisk/sounds/en/custom/announcement))
exten => 6,n,Hangup()

Welcome to the forums!

You might try specifying the same file to play back to the caller eg. A(file:file) instead of just A(file) – see latest Dial Application arguments.

Wow! Didn’t know of that… will try it soon and get back here for updates… thanks for replying :+1:

Another question tho. How can i implement this to all extensions? Because if i include the callers phone to the same MULTICAST IP, the caller is put on hold right after the ringtone is done playing… the temporary fix i did is to exclude the caller phone to the MULTICAST IP. But then again i have to create multiple dialplan and different extensions to use in the dialplan incase i want to use a different phone to use for paging…

It depends on your phone. Some support disabling of “barging” on multi-cast, some don’t. For the latter, you might try the Page() application.

I have Yealink T21P E2 phones and on its multicast GUI there is Barging… so i just disable it?

I also did try the Page() application. When i dial the extension number only the sound of the tone is being heard, after the tone is done playing it is a complete silence even if the caller is still speaking… again a work around is to exclude the caller from the multicast ip… only then you will hear the callers voice from other phones…

What i want to do is to multicast page on which ever phone is available in the house… and not just one dedicated phone for paging.

It’s worth a try… please report back the results.

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