[Asterisk-Users] Preventing an extension from dialing certain outbound codes

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Thu Aug 18 13:03:07 MST 2005


On Thursday 18 August 2005 15:35, Sean Rima wrote:
> Is there anyway to prevent an extension from dialing certain codes. ie I
> want to prevent extension 203 from dialing number which start with 00
> 087 086 etc

You're thinking about it wrong.

Devices can only dial #s that match the dialplan in their context.  Simply 
don't include any extensions that match it.

It is also painfully obvious that you haven't read much on Asterisk.  I 
suggest you start by reading the Asterisk Handbook draft, and follow up by 
poking around the wiki and the mailing list, which is searchable with google.

http://www.digium.com/handbook-draft.pdf
http://voip-info.org/

and include "site: lists.digium.com" in your google terms to search the list.

-A.



More information about the asterisk-users mailing list