VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
motty.cruz at gmail.com Guest
|
|
Back to top |
|
|
RyanT at OscarWinski.com Guest
|
|
Back to top |
|
|
johnkiniston at gmail.com Guest
|
Posted: Mon Jul 06, 2015 6:54 pm Post subject: [asterisk-users] Asterisk pin code for out-going internation |
|
|
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 6, 2015 at 2:43 PM, Motty Cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
--
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
---Heinlein |
|
Back to top |
|
|
motty.cruz at gmail.com Guest
|
Posted: Tue Jul 07, 2015 11:09 am Post subject: [asterisk-users] Asterisk pin code for out-going internation |
|
|
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:
Quote: | 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 6, 2015 at 2:43 PM, Motty Cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
--
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
---Heinlein
|
|
|
Back to top |
|
|
motty.cruz at gmail.com Guest
|
Posted: Tue Jul 07, 2015 2:23 pm Post subject: [asterisk-users] Asterisk pin code for out-going internation |
|
|
Here is what i have,
exten => _011XXXXXXXXX,1,Set(CALLERID(number)=factory2)
exten => _011XXXXXXXXX,2,Authenticate(/home/asterisk/passwds.conf,m,3)
exten => _011XXXXXXXXX,3,NoOp(user has been authenticated)
exten => _011XXXXXXXXX,n,Dial(SIP/VoIPSP1/${EXTEN:1},80)
exten => _011XXXXXXXXX,n,HangUp()
I would like to add background music if authentication failed, then after 6 minutes hangup
any ideas, suggestions?
On 07/07/2015 09:09 AM, Motty Cruz wrote:
Quote: | 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:
Quote: | 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 6, 2015 at 2:43 PM, Motty Cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
--
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
---Heinlein
|
|
|
|
Back to top |
|
|
johnkiniston at gmail.com Guest
|
Posted: Tue Jul 07, 2015 2:36 pm Post subject: [asterisk-users] Asterisk pin code for out-going internation |
|
|
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.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote: | Here is what i have,
exten => _011XXXXXXXXX,1,Set(CALLERID(number)=factory2)
exten => _011XXXXXXXXX,2,Authenticate(/home/asterisk/passwds.conf,m,3)
exten => _011XXXXXXXXX,3,NoOp(user has been authenticated)
exten => _011XXXXXXXXX,n,Dial(SIP/VoIPSP1/${EXTEN:1},80)
exten => _011XXXXXXXXX,n,HangUp()
I would like to add background music if authentication failed, then after 6 minutes hangup
any ideas, suggestions?
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|