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.


63 posts

Master Geek


Topic # 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
26633 posts

Uber Geek
+1 received by user: 6133

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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

Create outbound routes with appropiate dialplans and a PIN.

1386 posts

Uber Geek
+1 received by user: 134


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

just put a password on 09 and 00,.



63 posts

Master Geek


  Reply # 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!

1386 posts

Uber Geek
+1 received by user: 134


  Reply # 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 :)


1386 posts

Uber Geek
+1 received by user: 134


  Reply # 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 :)





63 posts

Master Geek


  Reply # 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.

3477 posts

Uber Geek
+1 received by user: 1252

Subscriber

  Reply # 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.



63 posts

Master Geek


  Reply # 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?


26633 posts

Uber Geek
+1 received by user: 6133

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 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.

3477 posts

Uber Geek
+1 received by user: 1252

Subscriber

  Reply # 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.



63 posts

Master Geek


  Reply # 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.

3477 posts

Uber Geek
+1 received by user: 1252

Subscriber

  Reply # 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.



63 posts

Master Geek


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

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

3477 posts

Uber Geek
+1 received by user: 1252

Subscriber

  Reply # 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.



63 posts

Master Geek


  Reply # 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

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Hawaiki Transpacific cable ready-for-service
Posted 20-Jul-2018 11:29


Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34



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.

Alternatively, you can receive a daily email with Geekzone updates.