EasyManua.ls Logo

Nayar Systems GSR - GSM Module Configuration Commands

Default Icon
37 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4.9.1. GSM Module configuration commands
4.9.1.1. Programming a call diversion
GSR supports up to 6 call memories. It refers to the positions with numbers that go from 1 to 6:
Origin Destination
Position 1 $tro1 $trd1
Position 2 $tro2 $trd2
Position 3 $tro3 $trd3
Position 4 $tro4 $trd4
Position 5 $tro5 $trd5
Position 6 $tro6 $trd6
When introducing a phone number, this must be inside quotation marks ( “ ). A call diversion can be set
with the following SMS:
12345,S:$tro1:“first_origin_number”,S:$trd1:“first_destination_number”
Response:
[“OK”,“OK”]
In this case it indicates that outcoming calls to first_origin_number must be diverted to
first_destination_number.
If there is a need to restrict an outcoming call to a particular number, the destination must be left blank
like in this example:
12345,S:$tro1:“number_to_restrict”,S:$trd1:”“
Response:
[“OK”,“OK”]
As soon as the device detects an attempt of an outcoming call to number_to_restrict it will not do allow
it. If the goal is to restrict all calls with a common prefix, the asterisk symbol ( * ) must be used:
12345,S:$tro1:“902 * “,S:$trd1:”“
Response:
[“OK”,“OK”]
Nayar Systems GSR - 1_en
Page 26 of 35