I was doing some digging through the configuration and found a Custom Destination that I think is what is affecting this:
Vanity Numbers (NXXNXXXXXX…) from-internal,${EXTEN:0:10},1
This will truncate numbers over 10 digits.
This was put in place to fix issues when people would dial numbers like 1-800-CALL-USNOW.
Dialing these numbers would fail when the full number was sent to the SIP Trunk.
Is there a way to fix this where truncating the outbound number to 10 digits happens after the Outbound Route dial pattern matching instead of before when using a Custom Destination like above?
@Stewart1 I’d like the prefix to be “9”, but I’d also like to be able to truncate outgoing calls through the SIP Trunk to 10 digits for domestic calls since the SIP Trunk can’t handle more than 10 digit numbers.
Some companies have vanity phone numbers with more than 10 digits (where digits > 10 are just ignored), but in my case, my SIP Trunk doesn’t like getting more than 10 digits so the call fails.