Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
configuration:sms-control [2015/08/27 07:14]
hess
configuration:sms-control [2017/12/04 17:26] (current)
fachet [Starting the SMS Control script]
Line 1: Line 1:
-====== SMS Control ======+====== ​Configure the SMS Control ​script ​======
 ===== Configuration ===== ===== Configuration =====
-  - Enable the SDK: Services->SDK->​Administration  +  - Enable the SDK: Services ​=>​SDK ​=>​Administration  
-  - Services->SDK->Job Management->Scripts-> [+] Create a new Script ​+  - Services ​=> SDK =>Job Management ​=>​Scripts ​=> [+] Create a new Script ​
     * Name: e.g. smscontrol ​     * Name: e.g. smscontrol ​
     * Descr. e.g. smscontrol  ​     * Descr. e.g. smscontrol  ​
     * Arguments: "​noauth",​ by default you need a password to use the sms controll script. If you want the old behaviour please use the argument noauth ​     * Arguments: "​noauth",​ by default you need a password to use the sms controll script. If you want the old behaviour please use the argument noauth ​
     * choose the sms-control.are from the Example Skript in the select area      * choose the sms-control.are from the Example Skript in the select area 
-  - Services->SDK->Job Management->Trigger-> [+] Create a new Trigger  +  - Services ​=>​SDK ​=> Job Management ​=> Trigger ​=> [+] Create a new Trigger  
-a.  ​Name e.g. sms-in  +    ​* ​Name e.g. sms-in  
-b.  ​Type: event-based  +    ​* ​Type: event-based  
-c.  ​Event: sms-received ​ +    ​* ​Event: sms-received Put the trigger and the script into one job:  
-Put the trigger and the script into one job:  +  ​Services ​=>​SDK ​=> Job Management ​=> Jobs => [+] Create a new Job  
-4.  ​Services->SDK->Job Management->Jobs->[+] Create +    ​* ​Name: smsServer  
- a new Job  +    ​* ​Script: smscontrol  
-a.  ​Name: smsServer  +    ​* ​Trigger: sms-in  
-b.  ​Script: smscontrol  + 
-c.  ​Trigger: sms-in  +===== Usage ===== 
-sending ​an  SMS to  the SIM card number:  +Sending ​an  SMS to the SIM card number: ​\\ 
-line: NetModule-Password ​   +First line: <admin password> ​ \\ 
-line: output 1/2 on/off, reboot, ​disconnect, conn +Second ​line: <command argument1 argument2>​ \\ 
-ect, status ​+ 
 +==== Example ==== 
 +<code - SMS.txt>​ 
 +admin01 
 +status 
 +output 1 on 
 +output ​2 on 
 +output 1 off 
 +output 2 off 
 +disconnect 
 +connect 
 +reboot 
 +</​code>​