Good day, I was wondering how it would be possible to map a SIP header from the WebRTC to the userfield in the CDR’s. I require this to link CDR’s to call events in my system but I can’t seem to find a way to achieve this.
I have tried the following:
I added the line: exten => 1,1,Set(CDR(testcolumn)=${SIP_HEADER(Contact-Ref)})
to my cos-all-init extensions config. The userfield in the CDR’s are still blank.
How do I go about achieving this?
Thanks for any help