Asterisk - The Open Source Telephony Project
18.5.0
|
Data Fields | |
char | cli [20] |
char | da [20] |
unsigned char | dcs |
unsigned char | err |
int | framenumber |
unsigned char | hangup |
unsigned char | ibitc |
unsigned char | ibith |
unsigned char | ibitl |
unsigned char | ibitn |
unsigned char | ibitt |
unsigned char | ibytec |
unsigned char | ibytep |
unsigned char | ibytev |
unsigned int | idle |
unsigned char | ierr |
unsigned short | imag |
signed long long | imc0 |
signed long long | imc1 |
signed long long | ims0 |
signed long long | ims1 |
unsigned char | imsg [250] |
unsigned char | ipc0 |
unsigned char | ipc1 |
unsigned char | iphasep |
unsigned char | ips0 |
unsigned char | ips1 |
short | mr |
unsigned char | nolog:1 |
char | oa [20] |
unsigned char | obitp |
unsigned char | obyte |
unsigned char | obyten |
unsigned char | obytep |
unsigned char | omsg [256] |
unsigned int | opause |
int | opause_0 |
unsigned char | ophase |
unsigned char | ophasep |
int | oseizure |
unsigned char | osync |
unsigned char | pid |
int | protocol |
char | queue [30] |
unsigned char | rp:1 |
unsigned char | rx:1 |
struct timeval | scts |
unsigned char | sent_rel:1 |
unsigned char | smsc:1 |
unsigned char | srr:1 |
unsigned short | ud [SMSLEN] |
unsigned char | udh [SMSLEN] |
unsigned char | udhi:1 |
int | udhl |
int | udl |
char | udtxt [SMSLEN] |
unsigned int | vp |
char cli[20] |
caller ID
Definition at line 240 of file app_sms.c.
Referenced by sms_exec(), and sms_handleincoming().
char da[20] |
destination address
Definition at line 227 of file app_sms.c.
Referenced by sms_compose1(), sms_compose2(), sms_exec(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_nextoutgoing(), sms_readfile(), and sms_writefile().
unsigned char dcs |
data coding scheme
Definition at line 230 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), sms_readfile(), and sms_writefile().
unsigned char err |
set for any errors
Definition at line 220 of file app_sms.c.
Referenced by sms_exec(), sms_messagerx(), and sms_process().
int framenumber |
protocol 2: frame number (for sending ACK0 or ACK1)
Definition at line 276 of file app_sms.c.
Referenced by sms_exec(), sms_messagetx(), and sms_process().
unsigned char hangup |
we are done...
Definition at line 219 of file app_sms.c.
Referenced by sms_exec(), sms_messagerx(), sms_messagerx2(), and sms_process().
unsigned char ibitc |
unsigned char ibith |
unsigned char ibitl |
unsigned char ibitn |
bit number in byte being received
Definition at line 264 of file app_sms.c.
Referenced by sms_process().
unsigned char ibitt |
unsigned char ibytec |
unsigned char ibytep |
byte pointer in message
Definition at line 266 of file app_sms.c.
Referenced by sms_debug(), and sms_process().
unsigned char ibytev |
unsigned int idle |
Definition at line 255 of file app_sms.c.
Referenced by sms_process().
unsigned char ierr |
unsigned short imag |
signed long long imc0 |
Definition at line 251 of file app_sms.c.
Referenced by sms_process().
signed long long imc1 |
magnitude averages sin/cos 0/1
Definition at line 251 of file app_sms.c.
Referenced by sms_process().
signed long long ims0 |
Definition at line 251 of file app_sms.c.
Referenced by sms_process().
signed long long ims1 |
Definition at line 251 of file app_sms.c.
Referenced by sms_process().
unsigned char imsg[250] |
data buffer (in)
Definition at line 250 of file app_sms.c.
Referenced by sms_debug(), sms_handleincoming(), sms_handleincoming_proto2(), sms_messagerx(), sms_messagerx2(), and sms_process().
unsigned char ipc0 |
phase sin for bit 1, start at 0 inc by 13 mod 80
Definition at line 259 of file app_sms.c.
Referenced by sms_exec(), and sms_process().
unsigned char ipc1 |
phase cos for bit 1, start at 20 inc by 13 mod 80
Definition at line 260 of file app_sms.c.
Referenced by sms_exec(), and sms_process().
unsigned char iphasep |
bit phase (0-79) for 1200 bps
Definition at line 263 of file app_sms.c.
Referenced by sms_process().
unsigned char ips0 |
phase sin for bit 0, start at 0 inc by 21 mod 80
Definition at line 257 of file app_sms.c.
Referenced by sms_process().
unsigned char ips1 |
phase cos for bit 0, start at 20 inc by 21 mod 80
Definition at line 258 of file app_sms.c.
Referenced by sms_process().
short mr |
message reference - actually a byte, but use -1 for not set
Definition at line 231 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), sms_log(), sms_readfile(), and sms_writefile().
unsigned char nolog |
do not log plain text SMS content (privacy)
Definition at line 224 of file app_sms.c.
Referenced by sms_exec(), and sms_log().
char oa[20] |
originating address
Definition at line 226 of file app_sms.c.
Referenced by sms_compose1(), sms_compose2(), sms_exec(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_nextoutgoing(), sms_readfile(), and sms_writefile().
unsigned char obitp |
bit in byte
Definition at line 245 of file app_sms.c.
Referenced by sms_generate(), and sms_messagetx().
unsigned char obyte |
byte being sent
Definition at line 243 of file app_sms.c.
Referenced by sms_generate(), and sms_messagetx().
unsigned char obyten |
bytes in data
Definition at line 248 of file app_sms.c.
Referenced by sms_generate(), sms_messagetx(), and sms_process().
unsigned char obytep |
byte in data
Definition at line 247 of file app_sms.c.
Referenced by sms_generate(), and sms_messagetx().
unsigned char omsg[256] |
data buffer (out)
Definition at line 249 of file app_sms.c.
Referenced by adddata_proto2(), sms_compose1(), sms_compose2(), sms_debug(), sms_exec(), sms_generate(), sms_handleincoming_proto2(), sms_messagerx(), sms_messagerx2(), sms_messagetx(), sms_nextoutgoing(), and sms_process().
unsigned int opause |
silent pause before sending (in sample periods)
Definition at line 244 of file app_sms.c.
Referenced by sms_generate(), and sms_messagetx().
int opause_0 |
initial delay in ms, p() option
Definition at line 273 of file app_sms.c.
Referenced by sms_exec(), and sms_messagetx().
unsigned char ophase |
phase (0-79) for 0 and 1 frequencies (1300Hz and 2100Hz)
Definition at line 241 of file app_sms.c.
Referenced by sms_generate().
unsigned char ophasep |
int oseizure |
protocol 2: channel seizure bits to send
Definition at line 275 of file app_sms.c.
Referenced by sms_generate(), and sms_messagetx().
unsigned char osync |
sync bits to send
Definition at line 246 of file app_sms.c.
Referenced by sms_generate(), sms_messagetx(), and sms_process().
unsigned char pid |
protocol ID
Definition at line 229 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), sms_readfile(), and sms_writefile().
int protocol |
ETSI SMS protocol to use (passed at app call)
Definition at line 274 of file app_sms.c.
Referenced by sms_exec(), sms_generate(), sms_messagerx(), sms_messagetx(), sms_nextoutgoing(), sms_process(), and Registration::write().
char queue[30] |
queue name
Definition at line 225 of file app_sms.c.
Referenced by sms_exec(), sms_log(), sms_nextoutgoing(), and sms_writefile().
unsigned char rp |
Reply Path
Definition at line 236 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), sms_readfile(), and sms_writefile().
unsigned char rx |
this is a received message
Definition at line 223 of file app_sms.c.
Referenced by sms_exec(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_nextoutgoing(), sms_readfile(), and sms_writefile().
struct timeval scts |
time stamp, UTC
Definition at line 228 of file app_sms.c.
Referenced by sms_compose1(), sms_compose2(), sms_exec(), sms_handleincoming(), sms_handleincoming_proto2(), sms_readfile(), and sms_writefile().
unsigned char sent_rel |
have sent REL message...
Definition at line 221 of file app_sms.c.
Referenced by sms_nextoutgoing(), and sms_process().
unsigned char smsc |
we are SMSC
Definition at line 222 of file app_sms.c.
Referenced by sms_compose1(), sms_compose2(), sms_exec(), sms_handleincoming(), sms_log(), sms_nextoutgoing(), and sms_writefile().
unsigned char srr |
Status Report request
Definition at line 234 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), sms_readfile(), and sms_writefile().
unsigned short ud[SMSLEN] |
user data (message), UCS-2 coded
Definition at line 238 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_readfile(), sms_writefile(), unpacksms16(), unpacksms7(), and unpacksms8().
unsigned char udh[SMSLEN] |
user data header
Definition at line 239 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), sms_readfile(), and sms_writefile().
unsigned char udhi |
User Data Header required, even if length 0
Definition at line 235 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), sms_readfile(), and sms_writefile().
int udhl |
user data header length
Definition at line 233 of file app_sms.c.
Referenced by packsms16(), packsms7(), packsms8(), sms_compose1(), sms_exec(), sms_handleincoming(), sms_readfile(), and sms_writefile().
int udl |
user data length
Definition at line 232 of file app_sms.c.
Referenced by putdummydata_proto2(), sms_compose1(), sms_exec(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_readfile(), and sms_writefile().
char udtxt[SMSLEN] |
user data (message), PLAIN text
Definition at line 277 of file app_sms.c.
Referenced by putdummydata_proto2(), and sms_readfile().
unsigned int vp |
validity period in minutes, 0 for not set
Definition at line 237 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), sms_readfile(), and sms_writefile().