]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Add option to not log Restricted Caller ID to queue_log
authorAlexei Gradinari <alex2grad@gmail.com>
Wed, 12 Jun 2024 21:18:05 +0000 (17:18 -0400)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 11 Jul 2024 13:22:18 +0000 (13:22 +0000)
commit1108f61bfbba1291a1b95b3cca00ffea19ccd2f2
treef9423b1e5d99e978cf6389d06c61026535ff784d
parente93c5e945ae04561d1df268662daaacb547a64c8
app_queue:  Add option to not log Restricted Caller ID to queue_log

Add a queue option log-restricted-caller-id to strip the Caller ID when storing the ENTERQUEUE event
in the queue log if the Caller ID is restricted.

Resolves: #765

UpgradeNote: Add a new column to the queues table:
queue_log_option_log_restricted ENUM('0','1','off','on','false','true','no','yes')
to control whether the Restricted Caller ID will be stored in the queue log.

UserNote: Add a Queue option log-restricted-caller-id to control whether the Restricted Caller ID
will be stored in the queue log.
If log-restricted-caller-id=no then the Caller ID will be stripped if the Caller ID is restricted.

(cherry picked from commit 624c23310ec48031565bf28984c704aa4c9db77f)
apps/app_queue.c
configs/samples/queues.conf.sample
contrib/ast-db-manage/config/versions/2b7c507d7d12_add_queue_log_option_log_restricted_.py [new file with mode: 0644]