Different Outbound Route for different Extensions

VitalPBX Community Support General Discussion Different Outbound Route for different Extensions

  • Post

    Hi, I have the following setup

    Ext 500, 501, 502 should use Outbound Route A

    Ext 550, 551, 552 should use Outbound Route B

    How can I handle that? Can’t find anything useful on the web.

    Right now the only Outbound Route used is the A Route.


    The question should be simple, but I can’t really figure out how to perform this task.

    Thank you in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Replies

    You must create a route selection, with the desired outbound routes, e.g:

    Route Selection A

    Route Selection B

    Then, you have to create two classes of services, one with the route selection A, and other with the route selection B.

    Finally, you must assign the respective class of service to each of the extensions.

    500 -> Class of Service A

    550 -> Class of Service B

    Learn more about the classes of services on the following link: https://vitalpbx.org/en/understanding-the-classes-of-services/


    Hi @ing-joserivera26, thank you very much for your help.

    Unfortunately, this is what I get from my VoIP Softphone and standard IP-Phone when I follow your steps.

    It appears to be a 403 similar error, can’t figure out why.

    What about this specific field?

    Thanks a lot, wait to hear you back soon! 🙂


    In the outbound routes, you can match routes by the caller ID, e.g.:

    Suppose you have two trunks, then, you can create two outbound routes with the following patterns:

    1XXXXXXXXXX/4XX  – For Trunk A, only number starting with 4 can dial on this trunk.

    1XXXXXXXXXX/5XX  – For Trunk B, only number starting with 5 can dial on this trunk.

    In the case you mentioned above, maybe, you didn’t configure the patterns in the right way. This may produce that when you dial a number sounds a message that says: “You’ve dialed an invalid number”




    Hi @ing-joserivera26,

    Here is my configuration, I carefully followed your instructions.

    Is your other advice (1XXXXXXXXXX/4XX) an alternative?

    If yes, are you talking about Pattern field or CID Pattern field (see here)?

    In any case, I don’t have a response announcement like “You’ve dialed an invalid number”.

    Thanks again for your help! 🙂


    Is your other advice (1XXXXXXXXXX/4XX) an alternative?

    1XXXXXXXXXX is the pattern and 4XX is the CID pattern

    Are your routes working now?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.