Blocking Outbound Calling based on Extension

How to block outbound dialing based on extensions. This is good for blocking phones out in the plant from making calls outside of the system.’, ‘

exten => _1NXXNXXXXXX/202,1,Answer()
exten => _1NXXNXXXXXX/202,n,Playback(silence/1&im-sorry&feature-not-avail-line)
exten => _1NXXNXXXXXX/202,n,Hangup()
exten => _1NXXNXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},,)
exten => _1NXXNXXXXXX,n,Macro(dialout-trunk,3,${EXTEN},,)
exten => _1NXXNXXXXXX,n,Macro(outisbusy,)

As of right now, you can\’t use 6XX for the CID to block. I\’ll have to do some more research, as I would like to set it to block a range of extensions, not just a single extension. I plan to create 6XX extensions for all in plant phones.. and want block them all.. I\’ll have to figure out how to do that so I don\’t have to have a dialplan 5 miles long to block each 6XX extension.

Leave a Reply