How to Allow outgoing calls to a few numbers Only

How to Allow outgoing calls to a few numbers Only,
we have a Student phone that we want to allow only a few numbers for outgoing calls

thanks

One of the Sangoma folks should chime in here shortly, but I think there’s a commercial module that limits outbound routes to specific extensions.

If you want to do it yourself, you’d need to set up an outbound route limited to specific numbers and then attach that to the extension. Not simple, and it may require some custom context coding, but it should be possible.

Create an outgoing route and in the callerid put the extention number.

Ex.: If you want the extention 2323 to be able to call only to number 98676776.

Create an outbound route with the dial pattern 98676776 and caller id 2323.