- Joined
- Aug 12, 2021
- Messages
- 11
- Reaction score
- 1
Outbound rules only has one "catch all" rule that doesn't strip or change the numbers.
When calling internationally outside of our own country (say +3315555555 and 003315555555), both prepending with 00 and + will work fine as 3CX routes the full number to the SIP provider and the SIP provider makes the call.
When calling the local country code (say +4465555555 and 004465555555), 3CX magically strips the country code form the number when +44 is used (even though no stripping of numbers is set up in the outbound rules as the stripping happens before even matching an outbound rule according to the logs) and then forwards the stripped number (65555555) to the SIP provider who of course gives us a not found error as this number is now invalid (as it's missing a leading 0).
Dialing 004465555555 gives no such issues.
It even tells us in the log:
How do I prevent this stripping on the local country codes with +44?
More from the log:
When calling internationally outside of our own country (say +3315555555 and 003315555555), both prepending with 00 and + will work fine as 3CX routes the full number to the SIP provider and the SIP provider makes the call.
When calling the local country code (say +4465555555 and 004465555555), 3CX magically strips the country code form the number when +44 is used (even though no stripping of numbers is set up in the outbound rules as the stripping happens before even matching an outbound rule according to the logs) and then forwards the stripped number (65555555) to the SIP provider who of course gives us a not found error as this number is now invalid (as it's missing a leading 0).
Dialing 004465555555 gives no such issues.
It even tells us in the log:
Looking for outbound rule: dialed = [+4465555555], processed: [65555555]; from-ext:
How do I prevent this stripping on the local country codes with +44?
More from the log:
[CM503003]: Call(C:112): Call to <sip:[email protected]:0> has failed; Cause: 404 Not Found/INVITE from IP:6060
08/16/2021 12:32:27 PM - [CM503004]: Call(C:117): Route 1: from L:117.1[Extn:103] to T:Line:10003>>65555555@[Dev:sip:[email protected];transport=TCP]08/16/2021 12:32:27 PM - Outbound CID reformat rule for DN:10003 is disabled (<Rules />) 08/16/2021 12:32:27 PM - Line limit check: Current # of calls for line Lc:10003(@SIP Trunk[<sip:[email protected]:0/TCP>]) is 0; limit is 2 08/16/2021 12:32:27 PM - Call(C:117): Call from Extn:103 to +4465555555 matches outbound rule 'Rest Of World via SIP' 08/16/2021 12:32:27 PM - [Flow] Call(C:117): has built target endpoint: Out#:>>Rule{Rest Of World via SIP}>>65555555 for call from L:117.1[Extn:103] 08/16/2021 12:32:27 PM - [Flow] Target endpoint for +4465555555 is Out#:>>Rule{Rest Of World via SIP}>>65555555 08/16/2021 12:32:27 PM - Looking for outbound rule: dialed = [+4465555555], processed: [65555555]; from-ext: 08/16/2021 12:32:27 PM - [Flow] Building target endpoint to +4465555555 from "User" <sip:[email protected]:5160> 08/16/2021 12:32:27 PM - [CM503010]: Call(C:117): Making route(s) from Extn:103 to <sip:[email protected]:5160/UDP>
