C
ONFIGURATION
C
OMMAND
S
ET
- F
IRMWARE
R
EVISION
2.4.0_
BETA
-
V
ERSION
1.0.0
3.2.25.1.1.6.3
GSM.VoiceCall (Voice Call states and events)
STATES
-
are checked every second
State notification code
Meaning
GSM.VoiceCall.sReady
True when the device is ready to receive or dial a voice call (currently
there is no incoming or established voice call).
GSM.VoiceCall.sIncoming=<
”p_number“
>
True when the device receives an incoming voice call
[or
a call from a
specific phone number]
..
Example:
GSM.VoiceCall.sIncoming=”+4913131313”
GSM.VoiceCall.sRingCounter<
comp
><”
value”
>
True when the number of rings of an incoming voice and user
specified <”
p_number”
> are evaluated true.
Example:
GSM.VoiceCall.sRingCounter>2
GSM.VoiceCall.sOutgoing=<
”p_numbe “
>
True when the device makes an outgoing voice call
[or
a call from a
specific phone number]
, until the call is accepted or cancelled.
Example:
GSM.VoiceCall.sOutgoing=”+4913131313”
GSM.VoiceCall.sInside=<
”p_number“
>
True when a GSM voice call [
or a call from a specific phone number
]
is accepted until the call is cancelled. This state can be used when
you want to know whether a call is currently in progress .
Example:
GSM.VoiceCall.sInside=”+4913131313”
<
”p_number“
>
It is
optional
. It specifies in quotation marks (" ") the phone number
(e.g.
+493677XXXX
, including country and area code) to be compared.
If it is omitted, the event occurs for incoming/outgoing voice call.
<
comp
>
Compares two values and return a Boolean (True/False) value that
represents the result of the comparison. It can be set to =, !=, <, >, <=
or >=.
<
value
>
A value from 0 to 255, which determines the number of rings of an
incoming call to wait for release an alarm.
EVENTS
-
are evaluated just when the event occurs
Event notification code
Meaning
GSM.VoiceCall.eIncoming=<
”p_number“
>
Occurs when the device receives a GSM voice call. This event can
then decide whether to accept that call or not.
Example:
GSM.VoiceCall.eIncoming=”+4913131313”
GSM.VoiceCall.eRingStopped=<
”p_number“
>
Occurs when the device is already set into the ringing mode and the
caller hangs up the phone.
Example:
GSM.VoiceCall.eRingStopped=”+4913131313”
GSM.VoiceCall.eOutgoing=<
”p_number“
>
Occurs when the device sets up an outgoing voice call, before the
recipient’s phone rings.
Example:
GSM.VoiceCall.eOutgoing=”+4913131313”
GSM.VoiceCall.eEstablished=<
”p_number“
>
Occurs when an incoming voice call has been established
successfully.
Example:
GSM.VoiceCall.eEstablished=”+4913131313”
GSM.VoiceCall.eHangup=<
”p_number“
>
Occurs when an established voice call has been hanged up.
Example:
GSM.VoiceCall.eHangup=”+4913131313”
<
”p_number“
>
Optional
. It specifies in quotation marks (" ") the phone number (e.g.
+493677XXXX
, including country and area code) to be compared. If it
is omitted, the event occurs for incoming/outgoing voice call.
Table 35:
GSM Voice Call states and events.
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
Page 227 of 271