I’m currently running Asterisk 1.8.21. I have an existing dialplan that allows for basic NANP dialing in the form of:
exten => _1NXXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN},100,KT)
and
exten => _NXXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN},100,KT)
I’ve recently purchased a SIP phone that pulls my Gmail contacts into its address book. These contacts have their phone numbers stored as (e.g.) (716) 452-1234 (note parenthesis). This was not working with the existing extens listed above, so I added the following:
This seems to work as expected (i.e. for example above it dials 7164521234). Is there a better/safer way to do this?
cheers,
J.