[asterisk-users] How to log missing RTP packets ?

Joshua Colp jcolp at digium.com
Fri Nov 10 08:38:26 CST 2017

On Fri, Nov 10, 2017, at 10:34 AM, Olivier wrote:
> Hello,
> When a call is starting, Asterisk starts sending and receiving RTP
> packets.
> Each packet has a sequence number.
> 1. Instead of logging everything as rtp set debug is currently doing, is
> there a way to only log:
> - the sequence number of the first received packet,
> - any missing or misplaced sequence number.
> 2. Is there a way to log RTP debug information in a specific file or send
> the same date to a custom daemon or filter ?

There's nothing built into Asterisk itself to do this already. Logging
to something like Homer might work, or just doing a packet capture.
Otherwise you'd need to make changes to Asterisk to add the
functionality you mention.

Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-users mailing list