]> 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)
committerAlexei Gradinari <alex2grad@gmail.com>
Thu, 20 Jun 2024 18:36:46 +0000 (18:36 +0000)
commit192a848311b0ddcedd3ce36cc00e2e26b092a0b0
treeb5bd1c699c5c4a2768675ee1334917cc90ca52c1
parent8d7ee890476f16747a4717f8045fe8d106c6a606
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.
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]