Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Dec 04, 2020 17:51

How to set up call screening

The Articles explains how to set up call screening.

Created: March 2020


Step 1. Create a separate Dialplan procedure

First, create a procedure to deal with declined calls:

In this case, the call is sent to the called user voicemail (3 digit extension), but it can be configured in any other way.

Step 2. Create audio files

Then add 3 audio files:

  1. priv-recordintro -> ask the caller to record their name, “please say your name after the tone, when done press #”
  2. priv-callpending -> announce the called user that there is a call coming, “this is a call from -recorded name- “
  3. screen-callee-options -> let the called user know the options, “to accept the call press 1, to decline it press 2.                 “. it is important to have a couple of seconds of silence at the end of the audio to give the called user time to select an option.

All of the files need to be named as showed and be placed in /var/lib/callweaver/sounds/ folder.

Step 3. Set up call screening

Finally, to dial the target extension, add the following Dialplan applications. In this case, all 3 digit extensions are screened.

  • Custom Application -> Dial(SIP/${EXTEN},,p)

Dial the user using call screening.

  • Jump to if -> “${HANGUPCAUSE}"="16"

If the called user declines the call, the HANGUPCAUSE  is 16, proceed to Dialplan that deals with declined calls ("screen" in our case).

  • Hangup -> Reason 16

If the called user accepts the call, makes sure to hang up once the call is done.

Not finding the help you need?
Join the Facebook group to ask a question!

  • No labels