]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Add log-caller-id-name option to log Caller ID Name in queue log
authorphoneben <67923255+phoneben@users.noreply.github.com>
Thu, 27 Feb 2025 23:25:50 +0000 (01:25 +0200)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 1 May 2025 12:44:58 +0000 (12:44 +0000)
commit43db0baf38ec2d00a4266673a55f1db16b7c251f
tree5ef3b643bf65120dcc2340f4fc4e8833f3da1d68
parent7b22d2ef886d1dd70bc4a2a6db8a5f3f9a08840b
Add log-caller-id-name option to log Caller ID Name in queue log

Add log-caller-id-name option to log Caller ID Name in queue log

This patch introduces a new global configuration option, log-caller-id-name,
to queues.conf to control whether the Caller ID name is logged when a call enters a queue.

When log-caller-id-name=yes, the Caller ID name is logged
as parameter 4 in the queue log, provided it’s allowed by the
existing log_restricted_caller_id rules. If log-caller-id-name=no (the default),
the Caller ID name is omitted from the logs.

Fixes: #1091
UserNote: This patch adds a global configuration option, log-caller-id-name, to queues.conf
to control whether the Caller ID name is logged as parameter 4 when a call enters a queue.
When log-caller-id-name=yes, the Caller ID name is included in the queue log,
Any '|' characters in the caller ID name will be replaced with '_'.
(provided it’s allowed by the existing log_restricted_caller_id rules).
When log-caller-id-name=no (the default), the Caller ID name is omitted.

(cherry picked from commit 487584987ffd4e2745273bb6cb08db919ddac8c3)
apps/app_queue.c
configs/samples/queues.conf.sample