]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Thu, 20 Jun 2024 18:36:55 +0000 (18:36 +0000)
commit07aa0ffe6adebd827ce0234f3bcd84a30905c4a8
treefe45c284977b8893074abc7e398249a266e3f0a2
parent4280d7cd77eb2344db26e51d7bf011e4af10cafd
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]