Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


jlg84

63 posts

Master Geek


#113491 18-Jan-2013 15:29
Send private message

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.

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #746950 18-Jan-2013 16:22
Send private message

Create outbound routes with appropiate dialplans and a PIN.



mercutio
1392 posts

Uber Geek


  #746972 18-Jan-2013 16:49
Send private message

just put a password on 09 and 00,.

jlg84

63 posts

Master Geek


  #747088 18-Jan-2013 19:29
Send private message

The password on 09 and 00 is exactly what I want to do, but I cannot find where to do it. I admit it, I'm a newb!



mercutio
1392 posts

Uber Geek


  #747089 18-Jan-2013 19:30
Send private message

jlg84: The password on 09 and 00 is exactly what I want to do, but I cannot find where to do it. I admit it, I'm a newb!


i uhh, did it sometime, i'll check it out :)


mercutio
1392 posts

Uber Geek


  #747090 18-Jan-2013 19:33
Send private message




https://cdn.geekzone.co.nz/imagessubs/4c921f2a90a4de276440b77c778bf232.jpg

t
hat seems to work, to make 08 numbers have a password.  (easy to test :)



jlg84

63 posts

Master Geek


  #747093 18-Jan-2013 19:36
Send private message

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.

chevrolux
4962 posts

Uber Geek
Inactive user


  #747099 18-Jan-2013 19:50
Send private message

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.

 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
jlg84

63 posts

Master Geek


  #747101 18-Jan-2013 20:00
Send private message

This is what I have done; the only trunk I want to PIN-lock is GuestRooms, so is this right?


sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #747132 18-Jan-2013 20:58
Send private message

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.

chevrolux
4962 posts

Uber Geek
Inactive user


  #747156 18-Jan-2013 21:41
Send private message

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.

jlg84

63 posts

Master Geek


  #747158 18-Jan-2013 21:44
Send private message

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.

chevrolux
4962 posts

Uber Geek
Inactive user


  #747285 19-Jan-2013 10:38
Send private message

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.

jlg84

63 posts

Master Geek


  #747346 19-Jan-2013 13:15
Send private message

Thanks for the idea, I have done that and it seems to be working fine. 

chevrolux
4962 posts

Uber Geek
Inactive user


  #747370 19-Jan-2013 14:54
Send private message

Just thinking about it... rather have all those separate patterns do '0[0479]X.' and that will match all those above in one simple rule.

jlg84

63 posts

Master Geek


  #747375 19-Jan-2013 15:08
Send private message

Yep, that worked. Thanks!

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



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.