smart outbound rules

Discussion in '3CX Phone System - General' started by akourou, Oct 20, 2008.

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

    Joined:
    Oct 20, 2008
    Messages:
    10
    Likes Received:
    0
    Hello,

    I am testing the free version. with a Linksys spa3102 as a pstn gateway, and voipdiscount as a voip provider for free calls.
    Everything works fine.
    I wonder if it is possible to create a rule that says that any number starting with "00xx6" will go to the voip provider (where "xx" is any number)
    Is it possible to do this?

    thanx
     
  2. SWB

    SWB New Member

    Joined:
    Mar 26, 2008
    Messages:
    136
    Likes Received:
    0
    I don't think you would be able to do this because of the 6 after the xx. If it was just "00xx" your number prefix would be 00 and use your VOIP provider as the route in the rule. But since xx is any number followed by a 6 you wouldn't be able to define that.
     
  3. akourou

    Joined:
    Oct 20, 2008
    Messages:
    10
    Likes Received:
    0
    is there any other way to do that?

    I want all numbers begining with 00,
    then have any two numbers,
    the have a 6,
    and then any number

    to be dialed through the voip provider.

    is it possible?
     
  4. SWB

    SWB New Member

    Joined:
    Mar 26, 2008
    Messages:
    136
    Likes Received:
    0
    I understand what you are trying to accomplish, and I think the best route would be to create a rule with a call to numbers starting with (Prefix) as 00 and select your VOIP provider as the route. That way when someone dials 00 first the rule will be activated, and it won't matter what they dial after the 00 (grant it will be xx6number, but the rule is looking for the 00). Of course you can't already have a rule which uses 00 as a prefix.

    Make sense?
     
  5. akourou

    Joined:
    Oct 20, 2008
    Messages:
    10
    Likes Received:
    0
    that way I will not be able to dial for example 00436xxxxxx from the voip provider and 00432xxxx from the pstn line. both number will be dialed through the voip provider. I think the only way is to make about 50 rule for example 00 43 6, 00 39 6, 00 32 6, 00 49 6 and so on....
     
  6. SWB

    SWB New Member

    Joined:
    Mar 26, 2008
    Messages:
    136
    Likes Received:
    0
    Ya I think then you will have to create individual rules, and I'd be curious to see how 3CX would handle 50+ rules. Good luck!
     
  7. mickp

    Joined:
    Jun 9, 2008
    Messages:
    72
    Likes Received:
    0
    I'm not sure what you're trying to achieve here (cultural ignorance not a criticism) but it seems like you should post a feature request asking for regular expression support to be incorporated into the dial plans. This would surely solve your problem. Don't ask me what the expression would be because I'm utter crap when it comes to regular expressions, though I know what they're good for :)

    Mick.
     
Thread Status:
Not open for further replies.