- Joined
- Feb 21, 2019
- Messages
- 168
- Reaction score
- 41
This began as an issue report, but I found the cause as I was writing, so I thought I'd post it in case some one else ran into the same issue.
We have a Toronto based office and I wanted to route any calls from our head office to any local Toronto area code through our 3CX Bridge. This makes it a local call from the TO office instead of an international long distance call from head office.
Here's my setup, I had three outbound rules in place.
The first two rules route calls properly to the Canada bridge. Calls to +1416,+1437,+1647,+1905 (Toronto area codes) skipped rule 3 and went to the International Long Distance rule further down. I see this in the activity log for each rule:
The + was being translated to 011 by the system so the +1416,+1437,+1647,+1905 prefixes on rule 3 were not being seen by the system.
I amended rule 3 to use prefixes, 0111416,0111437,0111647,0111905 plus 14 digits and it now routes correctly on rule 3.
[Flow] Call(C:5604): has built target endpoint: Out#:>>Rule{Long Distance - Canada +1 (Inside TO)}>>0111416869XXXX for call from L:5604.1[Extn:XXX]
Thanks.
We have a Toronto based office and I wanted to route any calls from our head office to any local Toronto area code through our 3CX Bridge. This makes it a local call from the TO office instead of an international long distance call from head office.
Here's my setup, I had three outbound rules in place.
- Any 10 digit number dialed, with prefix 416,437,647,905, go to route1 (Canada bridge), or route2 (normal long distance, if bridge is down)
- Any 11 digit number dialed, with prefix 1416,1437,1647,1905, go to route1 (Canada bridge), or route2 (normal long distance, if bridge is down)
- Any 12 digit number dialed, with prefix +1416,+1437,+1647,+1905, go to route1 (Canada bridge), or route2 (normal long distance, if bridge is down)
The first two rules route calls properly to the Canada bridge. Calls to +1416,+1437,+1647,+1905 (Toronto area codes) skipped rule 3 and went to the International Long Distance rule further down. I see this in the activity log for each rule:
- [Flow] Call(C:5042): has built target endpoint: Out#:>>Rule{Long Distance - Canada No 1 (Inside TO)}>>416869XXXX for call from L:5042.1[Extn:XXX]
- [Flow] Call(C:5048): has built target endpoint: Out#:>>Rule{Long Distance - Canada 1 (Inside TO)}>>1416869XXXX for call from L:5048.1[Extn:XXX]
- [Flow] Call(C:5038): has built target endpoint: Out#:>>Rule{Overseas Long Distance 011}>>0111416869XXXX for call from L:5038.1[Extn:XXX]
The + was being translated to 011 by the system so the +1416,+1437,+1647,+1905 prefixes on rule 3 were not being seen by the system.
I amended rule 3 to use prefixes, 0111416,0111437,0111647,0111905 plus 14 digits and it now routes correctly on rule 3.
[Flow] Call(C:5604): has built target endpoint: Out#:>>Rule{Long Distance - Canada +1 (Inside TO)}>>0111416869XXXX for call from L:5604.1[Extn:XXX]
Thanks.