Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For each of these entries you will assign a call class of local, national, international, etc. This is done on the dial trunk application as shown below.  Notice the Class assignment as National in the example.


PDF avoid Pagebreak

Image RemovedImage Added


Each user in the system is allowed or not allowed to call destination numbers based on these classes.  This is done via the Group that the user is assigned to.  The following screenshot is an example of these permissions (User - Groups config).  So, essentially, for each dialed pattern there is an assigned class and then users are either allowed or not allowed to call the classes as desired.

...

Notice in the screenshot below that there is a dial trunk step, followed by a “Jump to” step.  If the dial trunk step fails due to restrictions, the “Jump to” application sends the call to a new dialplan called PINS.


PDF avoid Pagebreak

Image RemovedImage Added


In the PINS dialplan, the administrator will configure the collection of the PIN in the default entry.  The call being sent to this dialplan had some destination number associated with it.  Let us say for example that the user dialed an international number.  An international dialed number would match the defaul entry in this dialplan since the other entries are not a match.  The user would now be prompted for a PIN via the “Play sound and wait for digits entry and the system would wait for 4 seconds for that pin.  Once the user has entered the pin, the system will check in this same dialplan for a match of the pin.  In the example below, valid pins are 1234, 2345, 5555 and 9876.  


PDF avoid Pagebreak

Image RemovedImage Added


There is one other part of the screenshot above that is important.  It is the “Set myNum ${CALLERID(dnid)}” application.  This step is SAVING the originally called number (user dialed destination number; not the pin).  This is necessary since once the user dials their pin, the system will now try to match on the pin and not on the originally dialed destination number.  So for now we simply save it off so that we can use it later.  More description of this momentarily.

Now we must route the call based upon the permissions for the valid pin that has been entered.  To do this, the administrator configures each pin as shown below.  Notice the “Jump to” application that sends the call to IntlBypass for pin 1234 but to NationalBypass for pin 2345.  Also make special note of the number that is being sent to the destination diaplan.  It is our SAVED value of myNum.  In this context, we use ${myNum} to reference the value of that variable.  


PDF avoid Pagebreak

Image RemovedImage Added


Now the call will route via the specified dialplan with the originally dialed destination number!

The only configuration left at this point is to have a dialplan that matches anything that this user should be allowed to dial.  Importantly, the administrator would NOT define matches for anything that this pin should NOT be able to dial, thus mapping the pin to a list of dialable patterns.  The following screenshot shows a simple example of an entry in this “final” dialplan:


PDF avoid Pagebreak

Image RemovedImage Added


There is one more thing that is important to point out for this configuration.  It is the “class” that is set on the call in this final dialplan.  You want to set this class to something that all users can dial!  This is because if you route the call to this final dialplan and mark it as something like “international” as it’s class, you may in fact end up restricting the user from making the call (because as you remember, the call is originated from a phone that does not have permission to call international).  So, the suggestion would be to use a class of something like “Internal”.  If desired, a specific unused call class could be configured here such as “Premium4”.  In this way the administrator could view calls that used ACL Pin Bypass.  This could be done from the CDR View in collaboration since Call Class is one of the fields that is recorded in the CDR.

...