[asterisk-dev] [Code Review] resolve the problem when global rtp debug is enabled that some rtp debug messages are hidden cause of the missing rtpdebugaddress

schmidts reviewboard at asterisk.org
Mon Mar 12 06:10:43 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1809/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

when setting "rtp set debug on" the rtpdebug values is set to 1 and the rtpdebugaddress is set to 0. With this settings most of the rtp debug massages are not shown cause the check if the rtpdebug address matches the actual address didnt work. This patch fixes this behavior so a global rtp debug will show all rtp debug messages.


Diffs
-----

  branches/1.8/res/res_rtp_asterisk.c 358762 

Diff: https://reviewboard.asterisk.org/r/1809/diff


Testing
-------

see all rtp debug messages after change.
For example:
Got  RTP packet from    212.27.113.89:4576 (type 101, seq 004747, ts 16860744, len 000004)
Got  RTP RFC2833 from   212.27.113.89:4576 (type 101, seq 004747, ts 16860744, len 000004, mark 1, event 00000009, end 0, duration 00080) 
[Mar 12 12:02:39] DEBUG[7805]: res_rtp_asterisk.c:1542 process_dtmf_rfc2833: - RTP 2833 Event: 00000009 (len = 4)

instead of:
Got  RTP packet from    212.27.113.89:4576 (type 101, seq 004747, ts 16860744, len 000004)
[Mar 12 12:02:39] DEBUG[7805]: res_rtp_asterisk.c:1542 process_dtmf_rfc2833: - RTP 2833 Event: 00000009 (len = 4)


Thanks,

schmidts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120312/3feebb7c/attachment.htm>


More information about the asterisk-dev mailing list