<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Here is what i have, <br>
exten => _011XXXXXXXXX,1,Set(CALLERID(number)=factory2)<br>
exten =>
_011XXXXXXXXX,2,Authenticate(/home/asterisk/passwds.conf,m,3)<br>
exten => _011XXXXXXXXX,3,NoOp(user has been authenticated)<br>
exten => _011XXXXXXXXX,n,Dial(SIP/VoIPSP1/${EXTEN:1},80)<br>
exten => _011XXXXXXXXX,n,HangUp()<br>
<br>
I would like to add background music if authentication failed, then
after 6 minutes hangup<br>
<br>
any ideas, suggestions? <br>
<br>
<div class="moz-cite-prefix">On 07/07/2015 09:09 AM, Motty Cruz
wrote:<br>
</div>
<blockquote cite="mid:559BF9B4.3080009@gmail.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Hello, <br>
I used this guide, it worked for me: <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.binaryheartbeat.net/2014/03/asterisk-pin-based-dialing.html">http://www.binaryheartbeat.net/2014/03/asterisk-pin-based-dialing.html</a><br>
<br>
Thanks, <br>
<br>
<div class="moz-cite-prefix">On 07/06/2015 04:54 PM, John Kiniston
wrote:<br>
</div>
<blockquote
cite="mid:CAFJQOGf28p-ZBSPL9C5QTr7toC97zLaNWj2Kq1VXrqqqK0hsjQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>The Authenticate application will do this for you.<br>
<br>
<a moz-do-not-send="true"
href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Authenticate">https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Authenticate</a><br>
<br>
</div>
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<br>
<br>
<div><br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jul 6, 2015 at 2:43 PM, Motty
Cruz <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:motty.cruz@gmail.com" target="_blank">motty.cruz@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello
All,<br>
<br>
I will like to configure Asterisk to use PIN Code for all
outgoing international calls.<br>
<br>
Also, any suggestions as to when should I prompt users for
code prior to dialing the number or after dialing the
number?<br>
<br>
can someone provide with a example on how to accomplish
this goal? I am a bit confuse by this : <a
moz-do-not-send="true"
href="http://forums.digium.com/viewtopic.php?p=130936&sid=707f657f7a61dfed55e4922304925091"
rel="noreferrer" target="_blank">http://forums.digium.com/viewtopic.php?p=130936&sid=707f657f7a61dfed55e4922304925091</a><br>
<br>
Thanks for your help.<span class="HOEnZb"><font
color="#888888"><br>
<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a
moz-do-not-send="true"
href="http://www.api-digital.com" rel="noreferrer"
target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory
webinar every Thurs:<br>
<a moz-do-not-send="true"
href="http://www.asterisk.org/hello"
rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a moz-do-not-send="true"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature">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.<br>
---Heinlein</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>