Quantcast
Channel: Mitel MiContact Center Knowledge Base
Viewing all articles
Browse latest Browse all 959

HowTo - Configure IVR callbacks when more than one area code is considered a local call

$
0
0
Article ID: 52432 - Last Review: April 24, 2017

PROBLEM

When IVR initiates a callback it will determine whether the call requires a 1 for long-distance, or 011 for international based on the saved callback number.  If the server resides in a region where multiple area codes are dialed as local, this can result in misdialed numbers as the 1 for long distance is added to the phone number. 



SYMPTOMS

In the device log for the outbound port you will see an error like the following:

Error: 2016-Apr-22 11:46:34.489   Mitel.Routing.Mitel.Implementation.ConferenceImplementation - Received CallFailedEvent due to Invalid Destination [16151231234]. (4006 - 10.47.34.85)

In the above example, 615 is considered local by the telephone service provider, however since 613 was configured as the local area code in YourSite Explorer the destination has included a leading 1 for a long distance call. 


 

WORKAROUND

There are two ways of working around this limitation.  The first would be to program the ARS Routing rules in your MiVoice Business to correct the outbound dialing digits after IVR has added the leading 1.  This is not the ideal solution in most cases since it requires a large amount of programming on the MiVoice Business.

The recommended workaround is to use a Variable Compare and Set Variable to determine the outbound digits needed.

  1. Open YourSite Explorer and log in as a System Administrator account.
  2. Click Variables, and then click the Add button at the top.
  3. Call the new variable something intuitive such as ModifiedCallbackNumber
  4. Add a description so others can see the purpose of the variable.
  5. Set the Variable Type to Number.
  6. On the left, open the IVR Routing section.  Select Subroutines.
  7. Open the Outbound subroutine needing modification. 
  • NOTE: If you use multiple forms of outbound callbacks you may need to add these changes to a voice, web, and abandon callback subroutine.
  • In the outbound subroutine, under the designer pane find the Conference with Customer activity (by default it is inside Menu option 2, just under a Save Callback activity).
  • Just above the Conference with Customer activity add a Variable Compare activity.
  • Right-click the Variable Compare and click Add Variable Compare Condition.
  • Click the Add button at the top to add a new line.  Configure it as follows:  <<CallbackClientNumber>>     Starts with     ###   ... where ### is the first area code that is local.
  • Click the Add button at the top to add a new line, and configure the next line the same as above, but with the next local area code.  Repeat until you have one line for each local area code.
  • Click the teal bar to the left of the first variable.  Hold SHIFT and click the teal bar to the left of the last variable.  This should highlight all of the lines.
  • Click the Group OR button at the top.  All the lines should now be linked by an OR.
  • Click OK.
  • You will be back to the subroutine now.  Right-click the Conference with Customer activity and Cut.
  • In the Variable Compare activity, under No Match, right-click and Paste.
  • Click the Conference with Customer under No Match.  In the properties pane on the right ensure that the External checkbox is checked.
  • In the branch for your area codes in the Variable Compare window, right-click and Paste.
  • Click the Conference with Customer activity under the branch for your area codes.  In the properties pane on the right ensure that the External checkbox is unchecked, and the Destination is set to your ModifiedCallbackNumber variable.
  • Above this Conference with Customer activity add a Variable Compare.
  • Right-click the Variable Compare and click Add Variable Compare Condition.
  • Click the Add button at the top to add a new line.  Configure it as follows:  <<CallbackClientNumber>>     Length     10 
  • Under the Match condition, add a Set Variable activity.
  • In the Variable Set activity, set the ModifiedCallbackNumber under the Advanced Text tab to:  <<CallbackClientNumber>> + 80000000000 .  This will take the 10 digit phone number and append a 8 to the beginning.  For example 9051234567 would become 89051234567.  If you use a different number for dialing an outside line you can modify the first digit of the 80000000000 accordingly.
    • NOTE:  This final variable compare ensures that 10 digit numbers have the digit for outbound dialing added, while other numbers (internal, for instance) will not.


    What this means is:

    • IF the callback number provided starts with any of the area codes you specified, the system will not attempt to evaluate whether it is long distance and will dial it as provided, adding a leading 8 if it is a 10-digit number.
    • ELSE if the callback number provided does not start with any of the area codes you specified, the system will evaluate it as normal and append the 1 for long distance if needed.



    APPLIES TO

    MiCC IVR all versions

    Keywords: Callback callbacks area code local long distance long-distance 


    Viewing all articles
    Browse latest Browse all 959

    Trending Articles