RTCP Statistics

Hi,

For RTCP statistics im using handler:

[hdlr1]
; start of QoS reporting
exten => s,1,Verbose(Start QoS)
exten => s,n,Set(CDR(rtcp_jitter)=${CHANNEL(rtcp,all_jitter)})
exten => s,n,Set(CDR(rtcp_loss)=${CHANNEL(rtcp,all_loss)})
exten => s,n,Set(CDR(rtcp_rtt)=${CHANNEL(rtcp,all_rtt)})
exten => s,n,Set(CDR(rtcp)=${CHANNEL(rtcp,all)})
exten => s,n(continue),NoOp(End of QoS)

This is a hangup_handler_push, executed in my case by:

Set(CHANNEL(hangup_handler_push)=hdlr1,s,1(args));

My question is what exactly am I collecting? For example i have a call between A party and B party, but the RTP stream passes through asterisk. So there is not direct communication between A and B party. We have two fully independant calls bridged together. In case above remote_minjitter shows statistics related to switch (because in leg A asterisk is second part of the call), or does those statistics describe both legs? If those data are describing only inbound call, how could i get channel statistics related to second leg created by Dial method (call between asterisk and called party)? Is it possible on dialplan level?

Best regards, KB

Hi,
Anyone could help with the question? Is it possible to get RTCP statistics (like above) but from second channel created by dial function?

Best regards, KB