Aterisk 13. Customized diplane. Calls are working, CDR is written.
But I need to add my own title to the CDR during the call.
Example extensions.conf:
exten => _1XX, n, SIPAddHeader (Test-header: 123) exten => _4XX, n, Set (CDR (Test column) = $ {SIP_HEADER (Test-header)})
Console output:
- Executing [6001 @ test: 2] SIPAddHeader ("SIP / 100-00000000", "Test-header: 123") in new stack - Executing [6001 @ test: 2] Set ("SIP / 100-00000000" CDR (Test-header) = ") in new stack
Why is the value of the header not transmitted? And is it possible to do this at all? P.S. The column Test-header in the database is