Call Routing by DID

Discussion in '3CX Phone System - General' started by TomBarker, Aug 26, 2013.

Thread Status:
Not open for further replies.
  1. TomBarker

    Joined:
    Feb 25, 2013
    Messages:
    12
    Likes Received:
    0
    Despite a lot of yelling, screaming, and repeating myself, a larger number of our staff continue to call internal people on their external DID. ie rather than dial 2544 they dial 90182544 (I assume it's just a habit some people can't change) which means the call goes out our SIP Trunk and then back in again and we are charged for the call.

    Is there a way to have 3CX directly route the call where the number dialed matches the DID of an internal extension?
     
  2. rogueblackburn

    Joined:
    Aug 11, 2013
    Messages:
    42
    Likes Received:
    0
    For outbound rules the 3CX looks for calls:
    - with prefix nn
    - comes from extension(s) number
    - comes from extension group(s)
    - dialed number length = nnn

    Perhaps you can present the users with a billing report and an invoice for them to pay the company back, or a pro-forma salary deduction. Old habits are only hard to break when it doesn't affect the person's personal cash flow..
     
  3. lneblett

    lneblett Well-Known Member

    Joined:
    Sep 7, 2010
    Messages:
    2,083
    Likes Received:
    61
    As alluded earlier, if there is a way, it will be in the outbound rules, but there isn't enough info presented for us to get a good idea. Ideally, if there is a portion of the dial string that makes your internal call unique, then you could use the "prefix" rule. As an example -

    You appear to be using 4 digit extensions ("2544") and the user base is prepending "9018" to reach the desired number. Not being familiar with the format, it is not known if the leading "9" is a part of the actual number or a lead-in number to get to an outside trunk. In any event, if the "90182" portion of what they are dialing is truly unique (not a portion that would be used anywhere else), then you could use the outbound rule to strip "4" thereby leaving only the 2544 for the system to dial.

    The issue is whether the 9018 is used to reach other outside numbers. If so, then you may need to find the largest violators by looking at the reports and devising other rules by extension that force them into a retraining mode. Find which extensions they dial the most and create a rule for their extension that starts with the entire number they dial the most and block it (them). They will soon get the picture.

    Most of my customers hate pushing buttons and the more they have to push, the more the dislike. I tend to think that your folks would follow the same suit, but perhaps what they have done is to program speed dials which include the entire string or are using the company directory or something similar that is causing this to occur.
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,839
    Likes Received:
    297
    This sort of issue came up a while back, and I'll be damned if I can find the post. I believe that Sy came up with the answer.
    It involved creating an outbound rule for each of the numbers that people are dialling. These are then sent to a "loop" trunk which comes back to 3CX. All but the actual extension digits are stripped in the outbound rule, and the call comes in as a direct SIP call. If I come across the post I will attach the link.

    Found it...see the first reply from Sy. http://www.3cx.com/forums/internal-users-dialing-dids-instead-of-extension-20002.html#p102900

    Of course, you could always have each outside call, to a local extension fail, in the outbound rules,, thereby forcing people to dial the extension directly.

    Be sure to place any of the new outbound rules ahead of the "general" outbound rule that applies to all other call of a similar dialling pattern. Rules are applied from top to bottom.
     
Thread Status:
Not open for further replies.