Is there a way to get the RTCP statistics for the BRIDGE CHANNEL when HangUp?

Currently, I succeeded in obtaining “lp, rlp, rxcount, txcount” in the RTCP statistics of the channel using “Function_CHANNEL” at the end of the call,
I would like to get similar information for BRIDGECHANNEL.

I checked the packet loss rate of both side to using “rtcp set debug” command.
Because there is a pattern where a lot of packet loss occurs only on BRIDGECHANNEL,
BRIDGECHANNEL also requires the above RTCP statistics.

Is there a way to get his RTCP statistics for the BRIDGE CHANNEL at the end of the call?
Any hint would be greatly appreciated.
Thank you.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_CHANNEL

If the channel still exists, you could try using IMPORT.

Thank you very much for answering.
What should I specify for variables when using IMPORT?

While investigating, I noticed that I could get the RTCP information of the BRIDGE CHANNEL at the time of hangup by using the F option of the Dial application, and I succeeded in getting it.
Asterisk 16 Application_Dial - Asterisk Project - Asterisk Project Wiki.

But as the link explains, you can’t get it when hung from the BRIDGE CHANNEL…
Is there a way to get the RTCP information of the BRIDGE CHANNEL even if it hangs up from the BRIDGE CHANNEL?

You could probably delay the destruction of the channel using the e option on Dial, and a suitable h extension. I guess you could also plant a hangup handler.

“Variable” can actually be a function.

However, I suspect most people would use the log files.

Thank you for teaching me many ways.
I was able to do what I wanted by adding a hangup handler.
The explanation about “Variable” was also very helpful.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.