I've attached more details in screenshots.
Basically what I'm trying to do is send sms messages using the **post Get** method with a "Teltonika" router. It works by Accessing a URL with the active alarm message embeeded inside the URL itself. That way when the router sees that the URL has been used , it redirects the message via SMS to a selected phone number( which is also embedded in the URL itself)
heres an example of my URL :
$sTeltonikaURL_Array[0] = "http://" + $sTeltonika_IP + $sTeltonikaURL + $sPhoneNr[$nPhoneIndex] + "&text=" + $sAlarm_MSG_toTeltonika[0]
With Indusoft, I am using a webgetfile function to access this URL and to write the received code into a text file, which then I use for my sState for Sending SMS messages --> $FileReadMessage($sTeltonikaDirectory,0,"$sTeltonikaState",140) . (I didnt find any other URL functions in indusoft).
The problem WIth my script is that I get the same active alarm Message more than once, which is too much.
Any Ideas , what I am doing wrong?