On 09/02/2026 04.10, Nambisdp wrote:
> 1. What is the correct syntax for accessing metadata keys in the
> output-pattern?
> - Is it `%{key}`, `%(key)`, `${key}`, or something else?
As per the documentation, it's %{key}
> 2. Does the metadata key naming matter? Should it be:
> - `metadata=custid:10` or
> - `metadata={custid:10}` (with braces as part of the key)?
Of course it matters, and as per the documentation, the format is
key1:val1|key2:val2
There are no braces here, and the separator is the pipe character, not a
comma.
> 3. Is there specific documentation for the output-pattern metadata
> substitution syntax?
You can find it under "output pattern" here:
https://rtpengine.readthedocs.io/en/latest/rtpengine-recording.html
And under "metadata" here:
https://rtpengine.readthedocs.io/en/latest/ng_control_protocol.html
> 4. Should I be passing metadata differently in the NG protocol from
> OpenSIPS?
Probably not, but you can confirm in the debug log that it's been
correctly received from OpenSIPS.
Cheers