Outbound security solution wanted

totsuka

New Member
Joined
Sep 27, 2009
Messages
10
Reaction score
2
Our office implements outbound security controls by extension. For example 1 phone might be able to call within the building only, another can call within the country and a third can call worldwide.

I don't think this type of security exists in PIAF at the moment, and the idea of pin numbers of not appealing.

I assume some type of customization will be required, can anyone suggest where I might start to accomplish my task?
 

euser4life

Guru
Joined
Dec 18, 2007
Messages
223
Reaction score
0
use built in functionality

You should be able to use the built in functionality of "Outbound Routes" to accomplish what you need. Just make sure your "rules" for outbound routes are prioritized by security.

Make a list of all extensions that are restricted to only dial internal. For Example, here we will block extension 5101. Then make an outbound route (that requires and PIN) for local and long distance calls.

However here is the key:
NXXXXX
1NXXNXXXXXX

Now becomes
NXXXXXX/5101
1NXXNXXXXXX/5101

Now keep adding extensions that are restricted
NXXXXXX/5102
1NXXNXXXXXX/5102

Then save the outbound route towards the top so that this rule matches before your unrestricted outbound routes.

Whenever extensions 5101 or 5102 try to dial local or long distance they will be prompted for PIN (so just make sure they do not know the PIN ;) )
 

jmullinix

Guru
Joined
Oct 21, 2007
Messages
1,263
Reaction score
7
If you don't mind getting your hands dirty and dive into extensions_custom.conf, this is fairly easy to set up and maintain.

For the phone that you only want to make internal calls on, create a context called internal-only. This is what it would look like in extension_custom.conf (assumes you have 4 digit extension numbers.)

[internal-only]
exten => 911,1,goto(from-internal,${EXTEN},1)
exten => _XXXX,1,goto(from-internal,${EXTEN},1)
exten => _*X.,1,goto(from-internal,${EXTEN},1)
exten => _X.,1,hangup()

Now for the ones that can dial US only:

[us-only]
exten => 911,1,goto(from-internal,${EXTEN},1)
exten => _XXXX,1,goto(from-internal,${EXTEN},1)
exten => _*X.,1,goto(from-internal,${EXTEN},1)
exten => _NXXNXXXXXX,1,goto(from-internal,${EXTEN},1)
exten => _1NXXNXXXXXX,1,goto(from-internal,${EXTEN},1)
exten => _X.,1,hangup()

Now go to FreePBX and put the internal only phones in the context internal-only and the us only phones in us-only. Leave the rest of the phones in from-internal.
 

rentpbx

Guru
Joined
Nov 2, 2010
Messages
109
Reaction score
16
custom context in PIAF 1.7.5.5 Purple Edition

In PIAF 1.7.5.5 Purple Edition, there is a custom context module installed by default. Please, investigate whether you can manually get them in other edition.

With custom context, you can do what you needed because you can control which outbound route to include in your custom context. You can assign custom context on your extension.
 

Members online

Forum statistics

Threads
25,842
Messages
167,952
Members
19,263
Latest member
baata
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top