Con "Closs off Service"
1.- Agregas el nombre y descripciĆ³n del contexto ejemplo: EXTENSIONES 1xx
2.-Agregas en el recuadro "Dial Rules" -->1xx
3.-Set All To --> allow
4.-ENTIRE Basic Internal Dialplan --> Deny
5.-en "Extensions"--> Allow Rules
agregas las extensiones 1xx el contexto creado "EXTENSIONES 1xx" y listo, ya solo agrega un contexto para cada seria 2XX, 3XX..etc
saludos