[Asterisk-Dev] RT(C)P-debugging

steve at daviesfam.org steve at daviesfam.org
Sun Oct 24 23:30:28 MST 2004



On Sat, 23 Oct 2004, Filip Olsson wrote:

> The RTCP-version of this one is coming up soon. It's very nice to be
> able to get some information on the transmission quality such as number
> of lost packets and interarrival jitter.
> I'm planning on doing some kind of 'monitor' for RTCP RRs and SRs and
> doing some statistical calculations on them and log this for all/some
> calls. I think this would be _very_ useful when hunting down echos and
> other network problems in general. Please note that Asterisk don't send
> any RTCP-packets, some RTP-stacks send them to us. At the moment we
> don't do anything about them, but there's alot of useful information in
> them.


Hi Filip,

If you can add a little abstraction to your logging and analysis of lost 
packets and jitter, putting the routines in a separate file, then I'll 
look at having chan_iax call on them too.

chan_iax can already log iax frames and jitter stats in excruciating 
detail, and I have perl programs to do after-the-fact analsysis; but it 
would be great to be able to pump the stats over to your "real time" 
analysis too.

I'd suggest at the end of a call we dump the stats into a log for a 
record.  Perhaps we could track "errored seconds" and "severely errored 
seconds" for the call like the telcos do.

Regards,
Steve




More information about the asterisk-dev mailing list