Does anybody use this variable and write measure to CDR?
Pleas, explain me how to make it.


I was able to get this to work by adding this to each context in extensions.conf:

exten => h,1,Set(CDR(userfield)=${RTPAUDIOQOS})

Once you do this, the QoS data shows up at the end of the CDR records in Master.csv. This is what the extra data looks like:


I’m more than a little uncertain how to interpret these number - I’m going open a new post to see if I can get some help on that.

In my case it does not seem to work while placing the call using a .call file , the vaiable is not, is empty .
I’ve opened an issue about this here:

-- Attempting call on SIP/primary/802 for 100@autodialer:2 (Retry 1) == Using SIP RTP CoS mark 5 > Channel SIP/primary-0000000a was answered -- Executing [100@autodialer:2] Wait("SIP/primary-0000000a", "10") in new stack -- Executing [100@autodialer:3] Playback("SIP/primary-0000000a", "demo-thanks") in new stack -- <SIP/primary-0000000a> Playing 'demo-thanks.gsm' (language 'en') -- Executing [100@autodialer:4] Hangup("SIP/primary-0000000a", "") in new stack == Spawn extension (autodialer, 100, 4) exited non-zero on 'SIP/primary-0000000a' -- Executing [h@autodialer:1] Set("SIP/primary-0000000a", "CDR(userfield)=") in new stack