$rtpaudioqos

Hello,

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

Regards

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:

“ssrc=358281685;themssrc=1432487772;lp=0;rxjitter=0.000482;rxcount=386;txjitter=12593.274200;txcount=0;rlp=6424412;rtt=6683.786029”

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:
viewtopic.php?f=1&t=86381&p=186188&hilit=RTPAUDIOQOS#p186188

-- 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