text
stringlengths
0
152
adding data to, 42
extensions included, 20
initial configuration, 38
sample configuration files, 37, 78
contexts
defining and naming, 79
privacy and security provided by, 80
purpose of, 78
relationship of channel configuration and
contexts, 80
structure of, 80
[general] and [globals] sections, 79
copy-paste operations, 23
core show application Queue command, 286
Cyber Mega Phone, 347
D
DAHDI drivers, 155
database integration
ACD queues, 286
Asterisk Realtime Architecture (ARA)
Dynamic Realtime, 281
external scripts, 279
Static Realtime, 279
types of, 278
call detail records (CDRs)
additional configuration options, 284
Globally Unique IDs and, 282
storing, 281-285
database selection, 259
databases available, 259
func_odbc dialplan function
ARRAY() function, 269
benefits of, 261
history of, 263
hot-desking feature, 264-278
multirow functionality with, 274
using SQL directly in your dialplan, 273
managing databases, 260
overview of, 259
SQL injection attacks, 261
troubleshooting, 261
device configuration (see user device configura‐
tion)
device states
checking device states, 240
devices included, 239
extension states using hint directive, 241
purpose of, 239
SIP presence, 243
using custom device state, 244
dial by extension, 252
dialing 911, 125
dialplan advanced features
Asterisk database (AstDB)
deleting data, 182
overview of, 181
retrieving data, 182
storing data, 181
using the AstDB in the dialplan, 182
conditional branching
GotoIf() application, 168-172
providing false conditional paths, 169
quoting/prefixing variables in, 170
time-based conditional branching, 172
conferencing with ConfBridge(), 183, 204
dialplan best practices, 163
dialplan functions
ARRAY(), 269
CALLERID, 184
CDR(), 357
CHANNEL, 185
CURL (), 185
CURL(), 294
CUT, 185
examples of, 167
FILTER(), 372
func_odbc, 261
GROUP(), 374
GROUP_COUNT(), 374
IF (and STRFTIME), 186
LEN, 187
ODBC_ANIBLOCK(), 264
ODBC_FETCH, 274