FreePBX – AutoDialer (Script)

Last updated on March 27th, 2018 at 10:25 am

@echo off
rem —————————–
set hourtostopthecode=2:15
rem —————————–
set loop=0
:loop
set timehour=%time:~0,2%
if %timehour% equ %hourtostopthecode% goto quitcode
start sip:972511122233
timeout 17
set /a loop=%loop%+1
if “%loop%”==”170” goto next
GOTO loop
:quitcode
echo Execution completed quit
timeout 1>nul
exit