Hi all, it's me again. I'd like to set my new FreePBX up in such a way as to require a PIN or a password to allow some of my extensions to make "expensive" calls, primarily calls to non-local and international numbers. In 2Talk there is a rather simple way to do this, is there a simple way in FreePBX? Ideally I would like to use this so that I can give the PIN to guests who wish to use our phones for overseas and national calls, and then I know to check their phone records so I can charge them for the service at checkout.
Thanks @Mercutio. I just found that, too, and am now working on figuring out how to make that apply onto the trunk that relates to our guest room phones and not to the main phones.
Yup just create outbound routes for the calls you want to be PIN blocked and then set which trunk it is allowed to use at the bottom. You do all this from the 'Outbound Route' page.
Creating multiple outbound routes with differnent dialplans is the easiest way, but using custom contexts is the best way as it allows a much more granular approach and avoids any exploits.
The fact you've only just started using PBX however would prove a major stumbling block to easily doing this. I've been using Asterisk for 8 years so it's easy for me to give advice, but not everybody is going to be able to find it quite so easy.
Don't worry about he prefix box and just use the pattern matching boxes.
So do.. 00X. 04X. 07X. 09X.
This will apply to all extensions though. So as Steve mentioned there is the custom contexts path to go down but considering this is your first time I would highly advise against it. Things get screwed up real fast.
FreePBX do that commercial (but still free) module called 'Extension routing' which helps you do what custom contexts let you do very easily. You just need that silly Sys Admin package first.
Thanks, I will make those changes you suggest, and just enter the code when I want to dial one of those pricy calls. But if I ever manage to load the Sys Admin module, I would love to get that commercial module, it looked pretty sweet.
It is just an add-on to the outbound route menu that lets you pick which extensions can use the outbound route. You can achieve more with custom contexts but using the module is a heap easier.
Edit: just to add... just for good measure create an outbound route to match 111 calls and put it at the top of the routes list. I dont really know if this is required but tend to think it is a good habit to get in to, especially when toll blocking is used.
Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly
to your computer or smartphone by using a feed reader.