Try DND 1
This commit is contained in:
parent
065474018d
commit
008efed094
@ -125,3 +125,27 @@ synopsis=Check if a specified callerid is contained in the known solicitors data
|
||||
writehandle=mysql1
|
||||
readsql=SELECT location FROM presence WHERE id='${SQL_ESC(${ARG1})}'
|
||||
writesql=UPDATE presence SET location='${SQL_ESC(${VAL1})}' WHERE id='${SQL_ESC(${ARG1})}'
|
||||
|
||||
|
||||
|
||||
; [MAT CONF for DND]
|
||||
; gets the current user status
|
||||
;[GET_DND_STATUS]
|
||||
;dsn=asterisk
|
||||
;readsql=SELECT status FROM dnd_status WHERE extension='${ARG1}'
|
||||
|
||||
; updates the status
|
||||
;[SET_DND_STATUS]
|
||||
;dsn=asterisk
|
||||
;writesql=INSERT INTO dnd_status (extension, status) VALUES ('${ARG1}', '${ARG2}') ON DUPLICATE KEY UPDATE status='${ARG2}', updated_at=NOW()
|
||||
;[END DND]
|
||||
|
||||
|
||||
[SET_DND_STATUS]
|
||||
dsn=asterisk
|
||||
writesql=REPLACE INTO dnd_status (extension, status) VALUES ('${ARG1}', '${ARG2}')
|
||||
|
||||
[GET_DND_STATUS]
|
||||
dsn=asterisk
|
||||
readsql=SELECT status FROM dnd_status WHERE extension='${ARG1}'
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
MySQL_conf_pbx/test1/mariadb_data/asterisk_db/dnd_status.frm
Normal file
BIN
MySQL_conf_pbx/test1/mariadb_data/asterisk_db/dnd_status.frm
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/mariadb_data/asterisk_db/dnd_status.ibd
Normal file
BIN
MySQL_conf_pbx/test1/mariadb_data/asterisk_db/dnd_status.ibd
Normal file
Binary file not shown.
Binary file not shown.
BIN
MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log
Normal file
BIN
MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log
Normal file
Binary file not shown.
@ -1,3 +1,7 @@
|
||||
13,3
|
||||
13,2
|
||||
13,1
|
||||
13,0
|
||||
11,3
|
||||
11,2
|
||||
11,1
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743075864.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743075864.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743078445.5.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743078445.5.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743137716.2.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743137716.2.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743075864.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743075864.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743078445.5.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743078445.5.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743137716.2.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743137716.2.wav
Normal file
Binary file not shown.
@ -169,3 +169,4 @@ SELECT * FROM extensions_table WHERE context='default';
|
||||
|
||||
SHOW TABLES;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user