question on 3CX route descision making and failure

Status
Not open for further replies.

[email protected]

Joined
Sep 21, 2012
Messages
28
Reaction score
12
Hello,
My question is related to Outbound rules.

If I have 2 seperate routes for the same dial patern (route1 via 1 carrier, route2 via carrier 2). how would the call route using the second carrier? Is there specific SIP messages that the 3CX needs to receive before it sends the call to the second route?

The reason I need this info is to test failure scenarios, but first I need to know in what failure scenario (SIP Messages) will the 3CX use the next available route so to test proper failover of routes.

Also, is there a log file I can look at to see what/how the 3CX is making the inbound and outbound routing descision?
 
3CX rules normally go in a top down (waterfall) type fashion - if the first does not work then it will move onto the second. However within an outbound rules you have failover options if the 1st, 2nd, etc route does not work.

If you have 2 matching rules for ITSP 1 and 2 why not simply create one single rule and have router 1 as ITSP 1 and ITSP 2 as the second. I would suggest having a read of this: https://www.3cx.com/docs/manual/sip-trunks/
 
yes that is what I am doing. The question is what SIP message does the 3CX require to get in order to consider that first route invalid and try the second route?
 
I cannot clarify 100% so would probably wait for a member of 3CX staff to response, however from my experience it is normally something like a "503 Service Unavailable" message from the provide that would say the link is down.

It certainly would not do it on registration timers as you could be using an IP authenticated SIP trunk.
 
exactly, but in my case the trunk is to a Oracle Session Boarder controller at the datacenter, the second route is another boarder controller in a differente location. So in case the one boarder controller is either not responding, or the carrier tied to it fails, then it should try the seconde controller.
 
found the answer:
https://www.3cx.com/docs/multiple-outbound-call-routes/

List of SIP answers causing a switch to route 2-5:
Code:
400 Bad Request

401 Unauthorized

402 Payment Required

403 Forbidden

404 Not Found

405 Method Not Allowed

406 Not Acceptable

407 Proxy Authentication Required

408 Request Timeout

409 Conflict

410 Gone

411 Length Required

413 Request Entity too large

414 Request URI too long

415 Unsupported Media Type

416 Unsupported URI Scheme

420 Bad Extension

421 Extension Required

423 Interval too brief

433 Anonymity Disallowed

480 Temp Unavailable

481 Call Transaction does not exist

482 Loop Detected

483 Too many hops

484 Address Incomplete

485 Ambiguos

487 Request Terminated

500 Server Internal Error

501 Not Implemented

502 Bad Gateway

503 Service Unavailable

504 Server Timeout

505 Version Not Supported

513 Message Too Large

603 Decline

604 Does not exist anywhere

606 Not Acceptable
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,885
Messages
589,547
Members
164,746
Latest member
Bastion Advisory