Outbound rules - calls with minimum length

Discussion in '3CX Phone System - General' started by Edward Paine, Jan 5, 2018.

Thread Status:
Not open for further replies.
  1. Edward Paine

    Joined:
    Dec 15, 2017
    Messages:
    15
    Likes Received:
    0
    Can someone explain how I set any calls at or over a certain length (11 in our case) to go to our single SIP provider? The text says "Calls to Numbers with a length of" which implies it has to be exact. We dial several international numbers with varied lengths.

    Could I put 11-15?

    Or can I just leave the/all boxes blank (if 3CX is clever enough to realise when an extension is being dialled)?
     
  2. Saqqara

    Saqqara Active Member

    Joined:
    Mar 12, 2014
    Messages:
    877
    Likes Received:
    135
    Not sure if you can specify 11-15 in the length of call, can always try it.

    If it does not work, create separate rules for the different lengths of numbers

    If you need to route all international calls down this one line, use the prefix option (enter your international dialling code i.e. for UK it would be 00)

    Info on outbound rules - https://www.3cx.com/docs/manual/outbound-rules/ - just remember 3CX processes the rules from the top down.
     
    #2 Saqqara, Jan 5, 2018
    Last edited: Jan 5, 2018
  3. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,368
    Likes Received:
    229
    You can't just leave all boxes blank.

    When a number is dialled, it is compared against extension numbers and SIP IDs before "proceeding ' to the outbound rules.
     
    YiannisH_3CX likes this.
  4. giwm

    giwm New Member

    Joined:
    Sep 27, 2016
    Messages:
    217
    Likes Received:
    36
    Depending on what your SIP provider expects, you may find multiple rules helpful. I have the following 'calls to numbers with length of':

    7 digits - prepends the area code and sets route (a couple of these, depending on the Extension group so I append the correct area code)
    10 digits - prepends a 1 and sets route
    11 digits - sets route

    Realistically I probably don't need the 10 digit to prepend, just to set a route.
     
  5. giwm

    giwm New Member

    Joined:
    Sep 27, 2016
    Messages:
    217
    Likes Received:
    36
    I just re-read your original post and realized my response wasn't quite what you were looking for. But... maybe it'll be helpful to get where you're going so I'll leave it.
     
  6. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,368
    Likes Received:
    229
  7. Edward Paine

    Joined:
    Dec 15, 2017
    Messages:
    15
    Likes Received:
    0
    Thank you all for your help. Here are some little discoveries:
    • If you enter something like 11-13 in the number length field and click OK it is converted to 11,12,13 (which is fine and does what I wanted).
    • If you enter 6,7 in the prefix box it is converted to 6-7. Maybe they had a different programmer doing the logic of each entry!
    • I can enter something like 6* in the prefix box - but as far as I can tell it doesn't act as a wildcard.
    • I can enter a * in the length box (no idea if it does anything) whereas ">" is picked up as an invalid input.
    I must say (again) that 3CX needs better documentation - this is so basic yet not clearly explained.

    I have yet to find a clear explanation of the Settings > E164 processing and how it interacts with Outbound rules, so will do more trial and error.
     
    #7 Edward Paine, Jan 6, 2018
    Last edited: Jan 9, 2018
  8. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,368
    Likes Received:
    229
    There are a number of posts dealing with e164 (Do a Google search for "3CX e164")
    Do you use + as a prefix when dialling, or are numbers stored in a directory with + as a prefix? If not, then you don't need to worry about it.

    E164 settings simply tell 3CX to change + into a format, that can be used by the outbound rules. Because different countries used different prefixes for national and international dialling, you have to be able to customize it for your area.

    As an example...If I'm in North America and I dial (or a number in my directory is stored as) +17145551234, how does 3CX route that call? 3CX needs to know that, in this case, the 1 is a country code, and the + can be removed. Depending on your provider, the 1 may be left on as a long distance prefix, or removed, as required.
     
  9. NickD_3CX

    NickD_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Jun 2, 2014
    Messages:
    1,255
    Likes Received:
    63
  10. Edward Paine

    Joined:
    Dec 15, 2017
    Messages:
    15
    Likes Received:
    0
    NickD - I had indeed sat through that 20 minute video and it doesn't address my question, nor mention anything about the interaction between Outbound rules and the the E164 processing settings. Videos have their place, but when they are read from a script; their screenshots are barely legible; and the content itself could be summarised using (searchable) text, then you have to question their efficiency.
     
    #10 Edward Paine, Jan 8, 2018
    Last edited: Jan 9, 2018
  11. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,368
    Likes Received:
    229
    NickD_3CX likes this.
  12. Edward Paine

    Joined:
    Dec 15, 2017
    Messages:
    15
    Likes Received:
    0
    leejor - thanks for your replies. I know what E164 is (as a standard) and have edited my post to show that is was the 3CX E164 processing settings I was asking about. As an example of how the documentation could be improved, a click on the Help button on the E164 settings page could explain that in most cases (certainly in the UK) a 0 prefix needs adding (it's not there on a default installation).

    By the way, I imagine that most installations have to deal with a +, if only because so many people have it in their Caller ID so it will (I assume) get picked up if a user dials that Caller ID.
     
Thread Status:
Not open for further replies.