How to populate CDR userfield

Hi,

I’m using freepbx 2.10 asterisk 1.8.18 (freepbx distro).

How to populate the CDR user field with this variable: RTPAUDIOQOS ?

I’m trying to trace the quality of the voip communications.

Thanks,
André.

Does func SIP_HEADER give you that?

Even if it does, you probably need to do it after hangups…

So probably need to manipulate macro hangup inside _override.conf

Add something like this

n,Set(CDR(userfield)="${SIP_HEADER(something)}")

At somewhere at the end…before the actual hangup app