Difference between revisions of "Enable, disable, set and check a forwarding for a DID"

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "You can configure the management of the forwarding for a DID using an IVR. The management can be done using a different DID, but let's do with the same DID, just to make thing...")
 
Line 37: Line 37:
[[File:Main IVR for DID forward management.png|400px]]
[[File:Main IVR for DID forward management.png|400px]]


Now, we can assign this DID to the IVR, but before we need to hide it, so it can be triggered when needed. We'll create a "Please wait while we connect to your destination" message and while this message is played, we'll read a pin code. If that is the correct one, the IVR will be activated, otherwise the usual destination will be connected
Now, we can assign this DID to the IVR, but before we need to hide it, so it can be triggered when needed. We'll create a "Please wait while we connect to your destination" message and while this message is played, we'll read a pin code. If that is the correct one, the IVR will be activated, otherwise, the usual destination will be connected.
 
[[File:Authenticate while connecting the number.png|400px]]
 
Let's see how the DID is now configured:
 
[[File:Did Forwarding and management IVR.png|400px]]

Revision as of 16:46, 11 May 2021

You can configure the management of the forwarding for a DID using an IVR. The management can be done using a different DID, but let's do with the same DID, just to make things more complex.

Let's start from a very simple configuration, where the DID is pointed to a Queue. We'd like to forward this DID to an external number in case of needs, with the ability to set the external number.

Create enable disable set and check forwarding DID 1.png

To accomplish all the feature we need, an IVR accepting the several options will be needed:

1) activate the forwarding on the DID

2) deactivate the forwarding on the DID

3) play the forwarding number configured

4) set a forwarding number

The key to having this working will be to use a variable to hold the forwarding number. So we are going to create one, named "FORWARDNUMBER"

Set variable for forwarding number.png

To set the forwarding number we need to create a small media file to ask for the forwarding number and then read and store the number in the variable using a custom destination

Read forwarding number.png

To play the forwarding number we can use another custom destination

Say forward number.png

To activate and deactivate the forwarding, we'll use the embedded special destination

We need now to create a custom destination to forward the call to the number contained in the variable, using the Forward To custom destination:

Forward to stored variable forward number.png

Let's organize all in the same IVR

Main IVR for DID forward management.png

Now, we can assign this DID to the IVR, but before we need to hide it, so it can be triggered when needed. We'll create a "Please wait while we connect to your destination" message and while this message is played, we'll read a pin code. If that is the correct one, the IVR will be activated, otherwise, the usual destination will be connected.

Authenticate while connecting the number.png

Let's see how the DID is now configured:

Did Forwarding and management IVR.png