I am trying to use the Gotoiftime CMD to not allow calls to be placed between the hours of 12am-5am, except if you know the PIN number to dial out and if the call is for 911. <br><br>What is the best way to implement this solutions?
<br><br>I have the gotoiftime like so:<br><br>exten => s,1,GotoIfTime(5:00-11:59|mon-fri|*|*?custom-blacklist,s,1)<br><br>and using Read for the PIN like so:<br><br>exten => s,3,Read(Secret,,3)<br>exten => s,4,NoOp(${Secret})
<br>exten => s,5,Gotoif($[${Secret} = 123]?6:8)<br><br>but I guess I am stuck at allowing 911 calls to go through and what order to place them in.<br><br>Thanks for the suggestions.<br clear="all"><br><br>Tom <br><br>