[asterisk-users] What is the best way to disable rtp and jitter information from debugging

Dan Cropp dcropp at amtelco.com
Thu Aug 10 09:57:15 CDT 2023


I don't recall seeing the rtp and jitter entries being logged regularly at other customer sites, so I am probably missing something obvious.  This site is running asterisk 18.17.1.
I enabled debugging to try to help track down an issue.  The problem is the debug_log file is filling rapidly with entries like the following.

[08/10 09:36:53.141] DEBUG[36475][C-0000009d] res_rtp_asterisk.c: 1691676998.426: pkt: 60711 Arrival sec: 1213.926  Arrival ts:   58268468  RX ts:  705913732 Transit samp: -647645264 Last transit samp: -647645218 d:   46 Curr jitter:   \
    2(  0.000) Prev Jitter:      21(  0.000) New Jitter:      22(  0.000)
[08/10 09:36:53.141] DEBUG[36475][C-0000009d] translate.c: Sample size different 960 vs 160
[08/10 09:36:53.146] DEBUG[35070][C-0000008e] res_rtp_asterisk.c: 1691674100.354: pkt: 205617 Arrival sec: 4112.079  Arrival ts:  197379770  RX ts: 1180840826 Transit samp: -983461056 Last transit samp: -983461053 d:    3 Curr jitter:  \
    -2(89478.485) Prev Jitter:      30(  0.001) New Jitter:      29(  0.001)
[08/10 09:36:53.146] DEBUG[35070][C-0000008e] translate.c: Sample size different 960 vs 160
[08/10 09:36:53.147] DEBUG[35341][C-00000093] res_rtp_asterisk.c: 1691674549.397: pkt: 183110 Arrival sec: 3661.920  Arrival ts:  175772138  RX ts: 3440116713 Transit samp: 1030622721 Last transit samp: 1030623191 d:  470 Curr jitter:  \
     6(  0.000) Prev Jitter:     374(  0.008) New Jitter:     380(  0.008)
[08/10 09:36:53.148] DEBUG[35341][C-00000093] translate.c: Sample size different 960 vs 160
[08/10 09:36:53.149] DEBUG[34847][C-00000086] res_rtp_asterisk.c: 1691673680.332: pkt: 226561 Arrival sec: 4530.928  Arrival ts:  217484526  RX ts: 2864049486 Transit samp: 1648402336 Last transit samp: 1648402394 d:   58 Curr jitter:  \
     0(  0.000) Prev Jitter:      53(  0.001) New Jitter:      53(  0.001)
[08/10 09:36:53.149] DEBUG[34847][C-00000086] translate.c: Sample size different 960 vs 160

I tried the following to disable these entries, but none of them stopped the entries in the log
core set debug category off rtp
core set debug category off rtcp
rtcp set debug off
rtp set debug off


Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230810/3ac8d8e9/attachment-0001.html>


More information about the asterisk-users mailing list