Thank you. Will investigate once we start migration.
I am currently doing the following:
[rtploss]
exten => s,1,Set(RTPLOSS=${CHANNEL(rtcp,all_loss)})
exten => s,n,System(echo “uniqueid=${CHANNEL(linkedid)},${REPLACE(RTPLOSS,;,)}” >> /var/log/asterisk/RTPLoss.log)
exten => s,n,Set(RTPINFO=${REPLACE(RTPLOSS,;,)})
exten => s,n,Set(${CUT(RTPINFO,,,1)})
exten => s,n,Set(${CUT(RTPINFO,,,2)})
exten => s,n,Set(${CUT(RTPINFO,,,3)})
exten => s,n,Set(${CUT(RTPINFO,,,4)})
exten => s,n,Set(${CUT(RTPINFO,,,5)})
exten => s,n,Set(${CUT(RTPINFO,,,6)})
exten => s,n,Set(${CUT(RTPINFO,,,7)})
exten => s,n,Set(${CUT(RTPINFO,,,8)})
exten => s,n,Set(ODBC_rtploss(${CHANNEL(linkedid)})=${minrxlost},${maxrxlost},${avgrxlost},${stdevrxlost},${reported_minlost},${reported_maxlost},${reported_avglost},${reported_stdevlost})
exten => s,n,Return()