Play message to caller depending on dial pattern in outbound route

Hey Community,
I would like to add a messages to the caller on certain outbound routes before the number is dialled.

As an exemple, if someone is calling a “premium-rate numbers”, I would like to warn the caller with a message like " be aware you are calling a premium number that costs XX cts per minute".
So, all numbers called starting 09xxx (here in CH), the caller will get that message from a specific outbound route with the right dial pattern.

Any easy way implementing this with a standard FreePBX distro ?

Thanks in advance

Prob easiest to use a predial hook to check the value of OUTBOUND_ROUTE_NAME to play a recording.

Thanks Lome.
It looks the way forward indeed.

1 Like

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