4 #include "../misc/misc.h"
6 /* ------------------ call info -------------------------------------------- */
13 * Somebody calls to us
15 GN_CALL_IncomingCall
=1,
25 * End of call from unknown side
29 * End of call from remote side
31 GN_CALL_CallRemoteEnd
,
33 * End of call from our side
37 * Call established. Waiting for answer or dropping
39 GN_CALL_CallEstablished
,
61 GSM_CallStatus Status
;
63 * Remote phone number.
65 char PhoneNumber
[(GSM_MAX_NUMBER_LENGTH
+1)*2];
71 * Whether Call ID is available.
80 /* --------------- Data structures for the call divert -------------------- */
83 * Defines when diversion is active.
91 * Divert when not answered.
95 * Divert when phone off or no coverage.
99 * Divert all calls without ringing.
102 } GSM_CDV_DivertTypes
;
105 * Which type of calls should be diverted.
111 GSM_CDV_VoiceCalls
= 0x01,
127 * Call diversion definition.
131 * When diversion is active.
133 GSM_CDV_DivertTypes DType
;
135 * Type of call to divert.
137 GSM_CDV_CallTypes CType
;
139 * Number where to divert.
141 char Number
[(GSM_MAX_NUMBER_LENGTH
+1)*2];
143 * Timeout for diversion.
145 unsigned int Timeout
;
149 * Multiple call diversions.
152 GSM_CallDivert Request
;
155 GSM_CallDivert Entries
[10];
157 } GSM_MultiCallDivert
;
159 /* -------------------------------- dial voice ---------------------------- */
162 * How to handle number when initiating voice call.
168 GN_CALL_ShowNumber
= 1,
174 * Keep phone default settings.
177 } GSM_CallShowNumber
;
181 /* How should editor hadle tabs in this file? Add editor commands here.
182 * vim: noexpandtab sw=8 ts=8 sts=8: