<div dir="ltr">I don't see that the Authenticate application has return values for failure cases or returns call control on a failure case.<br><br>Sorry I don't think you will be able to do what you want with it.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 7, 2015 at 12:22 PM, Motty Cruz <span dir="ltr"><<a 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">
  
    
  
  <div 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? </div></blockquote></div><br></div></div></div>