Access control for groups

In this example we set 4 simple rules to realize a selective access control based on group of users. An incoming telephone from an enabled user call will only open the gate associated with the specific group.
Enabled user means that is within a valid period and has enough ticket.

RULE 1

An incoming call from an enabled user belonging to group named "Family" will open the gate controlled by output 1. Avior hangs up the call without answer, no charge.

  • An incoming telephone call from an enabled user triggers the rule
  • Verify that last caller is belonging to group "Family"
  • The first action is the activation of output 1 for 3 seconds
  • The second action is to hang up the call without answer

Image

RULE 2

An incoming call from an enabled user belonging to group named "hotel" will open the gate controlled by output 3. Avior hangs up the call without answer, no charge.

  • An incoming telephone call from an enabled user triggers the rule
  • Verify that last caller is belonging to group "hotel"
  • The first action is the activation of output 3 for 10 seconds
  • The second action is to hang up the call without answer

Image

RULE 3

Device hangs up immediately an incoming call from a disabled user.

  • An incoming telephone call from a disabled user triggers the rule
  • We do not set any conditions
  • The first action is to hang up the call without answer

Image

RULE 4

Device hangs up immediately an incoming call from a unknown, then send back an SMS to invite the unknown caller to ask for registration at the hotel reception.

  • An incoming telephone call from an unknown user triggers the rule
  • We do not set any conditions
  • The first action is to hang up the call without answer
  • The second action is to send an SMS to last caller

Image

AT COMMANDS

The rules described above can also be set with the following AT commands

AT#ER=XXX_CAE_$N22=Family_____out1=ON,3_ATH___
AT#ER=XXX_CAE_$N22=hotel_____out3=ON,10_ATH___
AT#ER=XXX_CAD______ATH____
AT#ER=XXX_CAU______ATH_AT+SMS=$N20,"Welcome! Please register at reception to open the gate"___