Requiring a PIN number for outbound calls

Status
Not open for further replies.

dougs

New Member
Mar 1, 2018
29
2
3
42
Seems the wiki is incorrect. http://wiki.fusionpbx.com/index.php?title=Outbound_Routes

To have the system ask for a PIN number before a call is made. A good use is if you don't want every user on the system to be able to call international destinations. Do the following:
Before the bridge action on the route add the following actions
action set pin_number=(Whatever pin number you choose)
action lua pin_number.lua
Also make sure pin_number.lua is in /usr/local/freeswitch/scripts/ (by default it is)

To use the "PIN Numbers" app to set multiple PINs then you must set the action pin_number=database.

1520180485299.png
 

Craig Fox

New Member
Mar 21, 2018
26
3
3
54
Is there any way to filter the PIN Numbers? I have been able to get it to work but having one pin# give access to every/any feature that is secured by pin_number=database.
 

kidjake28

Member
Nov 30, 2017
97
0
6
56
I know this is an old topic but I haven't been able to find any documentation on fusionx members login.

pin_number=database;

Doesn't seem to tie into the PIN Numbers db.

If I manually enter

pin_number=1234

That works but after the lua script it just disconnects.

Any help appreciated.
 

bdmonsey

Member
Jul 23, 2019
152
6
18
43
I know this is an old topic but I haven't been able to find any documentation on fusionx members login.

pin_number=database;

Doesn't seem to tie into the PIN Numbers db.

If I manually enter

pin_number=1234

That works but after the lua script it just disconnects.

Any help appreciated.
This works for me. if it's an international carrier you might wanna check why it's being disconnected, it might be a prefix issue, Caller id issue, security issue.

Hope I was helpful
 

Attachments

  • pin.jpg
    pin.jpg
    112.6 KB · Views: 88
Status
Not open for further replies.