Go to the documentation of this file.
36 #define TELEPHONY_VERSION 3013
38 #define PHONE_VENDOR_IXJ 1
39 #define PHONE_VENDOR_QUICKNET PHONE_VENDOR_IXJ
40 #define PHONE_VENDOR_VOICETRONIX 2
41 #define PHONE_VENDOR_ACULAB 3
42 #define PHONE_VENDOR_DIGI 4
43 #define PHONE_VENDOR_FRANKLIN 5
55 #define QTI_PHONEJACK 100
56 #define QTI_LINEJACK 300
57 #define QTI_PHONEJACK_LITE 400
58 #define QTI_PHONEJACK_PCI 500
59 #define QTI_PHONECARD 600
94 #define PHONE_CAPABILITIES _IO ('q', 0x80)
95 #define PHONE_CAPABILITIES_LIST _IOR ('q', 0x81, struct phone_capability *)
96 #define PHONE_CAPABILITIES_CHECK _IOW ('q', 0x82, struct phone_capability *)
109 #define PHONE_RING _IO ('q', 0x83)
110 #define PHONE_HOOKSTATE _IO ('q', 0x84)
111 #define PHONE_MAXRINGS _IOW ('q', 0x85, char)
112 #define PHONE_RING_CADENCE _IOW ('q', 0x86, short)
113 #define OLD_PHONE_RING_START _IO ('q', 0x87)
114 #define PHONE_RING_START _IOW ('q', 0x87, PHONE_CID *)
115 #define PHONE_RING_STOP _IO ('q', 0x88)
117 #define USA_RING_CADENCE 0xC0C0
119 #define PHONE_REC_CODEC _IOW ('q', 0x89, int)
120 #define PHONE_REC_START _IO ('q', 0x8A)
121 #define PHONE_REC_STOP _IO ('q', 0x8B)
122 #define PHONE_REC_DEPTH _IOW ('q', 0x8C, int)
123 #define PHONE_FRAME _IOW ('q', 0x8D, int)
124 #define PHONE_REC_VOLUME _IOW ('q', 0x8E, int)
125 #define PHONE_REC_VOLUME_LINEAR _IOW ('q', 0xDB, int)
126 #define PHONE_REC_LEVEL _IO ('q', 0x8F)
128 #define PHONE_PLAY_CODEC _IOW ('q', 0x90, int)
129 #define PHONE_PLAY_START _IO ('q', 0x91)
130 #define PHONE_PLAY_STOP _IO ('q', 0x92)
131 #define PHONE_PLAY_DEPTH _IOW ('q', 0x93, int)
132 #define PHONE_PLAY_VOLUME _IOW ('q', 0x94, int)
133 #define PHONE_PLAY_VOLUME_LINEAR _IOW ('q', 0xDC, int)
134 #define PHONE_PLAY_LEVEL _IO ('q', 0x95)
135 #define PHONE_DTMF_READY _IOR ('q', 0x96, int)
136 #define PHONE_GET_DTMF _IOR ('q', 0x97, int)
137 #define PHONE_GET_DTMF_ASCII _IOR ('q', 0x98, int)
138 #define PHONE_DTMF_OOB _IOW ('q', 0x99, int)
139 #define PHONE_EXCEPTION _IOR ('q', 0x9A, int)
140 #define PHONE_PLAY_TONE _IOW ('q', 0x9B, char)
141 #define PHONE_SET_TONE_ON_TIME _IOW ('q', 0x9C, int)
142 #define PHONE_SET_TONE_OFF_TIME _IOW ('q', 0x9D, int)
143 #define PHONE_GET_TONE_ON_TIME _IO ('q', 0x9E)
144 #define PHONE_GET_TONE_OFF_TIME _IO ('q', 0x9F)
145 #define PHONE_GET_TONE_STATE _IO ('q', 0xA0)
146 #define PHONE_BUSY _IO ('q', 0xA1)
147 #define PHONE_RINGBACK _IO ('q', 0xA2)
148 #define PHONE_DIALTONE _IO ('q', 0xA3)
149 #define PHONE_CPT_STOP _IO ('q', 0xA4)
151 #define PHONE_PSTN_SET_STATE _IOW ('q', 0xA4, int)
152 #define PHONE_PSTN_GET_STATE _IO ('q', 0xA5)
154 #define PSTN_ON_HOOK 0
155 #define PSTN_RINGING 1
156 #define PSTN_OFF_HOOK 2
157 #define PSTN_PULSE_DIAL 3
166 #define PHONE_WINK_DURATION _IOW ('q', 0xA6, int)
167 #define PHONE_WINK _IOW ('q', 0xAA, int)
196 #define PHONE_QUERY_CODEC _IOWR ('q', 0xA7, struct phone_codec_data *)
197 #define PHONE_PSTN_LINETEST _IO ('q', 0xA8)
214 #define PHONE_VAD _IOW ('q', 0xA9, int)