% % evaluate callback on sms messages % % clear the sms count status % "0 0 0" !Sim.Scount % % check if sms messages sent/rcvd, last 10 mins, hour, and day % check for cal_TTTTTT_*.txt callbacks % 0 !Sim.Wnear 0 !Sim.Whour 0 !Sim.Wday "cal_" &_Sim.UniqueName anytext !wilder _Arching.Connector empty { % % stack: path seed % nextfile ? % % has raw url % % /Tell?ApiVersion=v1&CommandMode=text&Command=time+zone+ok!+%0A % &SimUniqueName=AA0108&CommandStatus=received % &ErrorCode=&SimSid=DE60aa78560fb7ae439eb3fd300c60853a % &ErrorMessage=&CommandSid=DC0e04eeb43916fc88af6653ac8098d0a5 % &AccountSid=ACa75575118dbadaaca7c2abfc75bfe044 % "SimUniqueName=" Str.Right "&" Str.Left length 6 eq { % % valid unique name for tracker % does it match our tracker % _Sim.UniqueName eq$ { % % check file time range 10 mins, hour, day and count categories % filing System.FileTimes pop2 *trakwtin } { % % not this tracker % } ifelse } { % % some other url callback, bad format % pop } ifelse } loop pop2 % % set the sms status % _Sim.Wnear &" " &_Sim.Whour &" " &_Sim.Wday !Sim.Scount