]> 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)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 16 Apr 2025 14:29:01 +0000 (14:29 +0000)
commitac07cbe2c38a365c9633dc6c23c5bc8bca20d735
tree051c220dd1f61a6a6646de4cce8f8161758a5c0c
parentc52136c277fedac304fd11b36b0d671f83700e84
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.
apps/app_queue.c
configs/samples/queues.conf.sample