Asterisk Pin Code For Out-going International Calls (safeguard Against Fraud)
Home » Asterisk Users » Asterisk Pin Code For Out-going International Calls (safeguard Against Fraud)
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 am a bit confuse by this :
http://forums.digium.com/viewtopic.php?p0936&sidp7f657f7a61dfed55e4922304925091
Thanks for your help.
5 thoughts on - Asterisk Pin Code For Out-going International Calls (safeguard Against Fraud)
I’ve seen this before. It can be done by calling an AGI script when placing the outgoing call. You’d then prompt and make sure the code matches and do your billing logic, etc there. Then place the call if it’s valid.
—–Original Message—
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
Hello, I used this guide, it worked for me:
http://www.binaryheartbeat.net/2014/03/asterisk-pin-based-dialing.html
Thanks,
Here is what i have, exten => _011XXXXXXXXX,1,Set(CALLERID(number)
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.