Sometimes you want to play an announcement to your users before completing certain outbound calls, such as those to international or long distance numbers that might incur extra costs for your company or department. There is no direct manner for accomplishing this in FreePBX, but this guide will show you a relatively easy work-around to accomplish the same goal. Here is a summary of steps you will complete in this guide:
- Create the following:
Misc Destination: *999${CALLERID(dnid)}
System Recording: your announcement audio
Announcement: your announcement that includes the new recording, then pass to new Misc Dest
Outbound Route: include your trunks and *999|[.] as the only dial pattern
- Modify the following:
Original Outbound Route: remove your trunks and change Congestion Destination to new Announcement
We assume that you already have an Outbound Route in mind that has the Dial Patterns you wish to match to play the warning message.
STEP 1:
First, we will want to create a new Misc Destination that alters the originally dialed number (temporarily). This essentially tags the call for retrieval by the new Outbound Route we will create in a later step. Navigate your FreePBX GUI to Applications > Misc Destinations and click Add Misc Destination. Include the following details:
Description:
Pass to Trunk
Dial:
*999${CALLERID(dnid)}
