Re: [asterisk-users] Asterisk pin code for out-going international calls (safeguard against fraud)

2015-07-07 Thread John Kiniston
I don't see that the Authenticate application has return values for failure cases or returns call control on a failure case. Sorry I don't think you will be able to do what you want with it. On Tue, Jul 7, 2015 at 12:22 PM, Motty Cruz motty.c...@gmail.com wrote: Here is what i have, exten =

Re: [asterisk-users] Asterisk pin code for out-going international calls (safeguard against fraud)

2015-07-07 Thread Motty Cruz
Here is what i have, exten = _011X,1,Set(CALLERID(number)=factory2) exten = _011X,2,Authenticate(/home/asterisk/passwds.conf,m,3) exten = _011X,3,NoOp(user has been authenticated) exten = _011X,n,Dial(SIP/VoIPSP1/${EXTEN:1},80) exten = _011X,n,HangUp() I

Re: [asterisk-users] Asterisk pin code for out-going international calls (safeguard against fraud)

2015-07-07 Thread Motty Cruz
Hello, I used this guide, it worked for me: http://www.binaryheartbeat.net/2014/03/asterisk-pin-based-dialing.html Thanks, On 07/06/2015 04:54 PM, John Kiniston wrote: The Authenticate application will do this for you.

Re: [asterisk-users] Asterisk pin code for out-going international calls (safeguard against fraud)

2015-07-06 Thread John Kiniston
The Authenticate application will do this for you. https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Authenticate You can either give it a single PIN to use for all calls, Authenticate using a value in the Asterisk Database, Or use a plain text file for the PIN's On Mon, Jul

Re: [asterisk-users] Asterisk pin code for out-going international calls (safeguard against fraud)

2015-07-06 Thread Ryan, Travis
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Motty Cruz Sent: Monday, July 06, 2015 5:44 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Asterisk pin code for out-going international calls (safeguard against fraud) Hello All, I will like to configure Asterisk to use

[asterisk-users] Asterisk pin code for out-going international calls (safeguard against fraud)

2015-07-06 Thread Motty Cruz
Hello All, I will like to configure Asterisk to use PIN Code for all outgoing international calls. Also, any suggestions as to when should I prompt users for code prior to dialing the number or after dialing the number? can someone provide with a example on how to accomplish this goal? I