Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First, let's create a new context for local calls.

Code Block
langjavascript
[local]
; seven-digit local numbers
exten => _NXXXXXX,1,Dial(SIP/provider/${EXTEN})
; ten-digit local numbers
exten => _NXXNXXXXXX,1,Dial(SIP/provider/${EXTEN})
; emergency services (911), and other three-digit services
exten => NXX,1,Dial(SIP/provider/${EXTEN})
; if you don't find a match in this context, look in [users]
include => users

...