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

2017-11-10 Thread Olivier
1. I've just discovered rsyslog external plugin capabilty.
Using it, the following might work
asterisk ---> rsyslog ---> external program > custom log file
I fail to see yet if rsyslog to external program communication could
entirely avoid writing to disk.

2. Anyway, current rtp debug logging is quite verbose on console.
Having an option to have a more concise logging would be welcome.

2017-11-10 15:38 GMT+01:00 Joshua Colp :

> 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
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

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

2017-11-10 Thread Joshua Colp
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2017-11-10 Thread Olivier
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 ?

Regards
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users