Restrict phone usage

Hello All,

Basically we have a Polycom Soundpoint 330 that we want only to be able to call 911 and one particular extension (say ext 100). We have tried to log into the phone webpage interface and alter its digit map as well as the phones configuration file on the asteriskNow box, but it does not seem to be able to be restricted. Any help would be greatly appreciated!!!

Thanks All.

Outbound route permissions module can do this, I think it took us some work to get it operational for 2.9 but perhaps it has been updated since then. It does not restrict extension-to-extension calling however.

Apparently the custom contexts module can also do this but I don’t have any idea how.

you would need to have this phone in a separate context

In /etc/asterisk/extensions_custom.conf add a section like this:

[from-lobby] exten => 911,1,goto(outbound-allroutes,${EXTEN},1) exten => 100,1,goto(from-internal,${EXTEN},1) exten => _x.,1,Playback(pbx-invalid) exten => _x.,n,hangup()

Then set the context of the phone in question to from-lobby