In res_rtp_asterisk.c, to detect that a packet is SRTP (not RTP), this
check is done (link to gitweb
<http://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=blob;f=res/res_rtp_asterisk.c;h=62601dcadaaf011a692a247d66ec590b3b47edfa;hb=refs/heads/master#l2019>
):

if ((*in >= 20) && (*in <= 64)) {

Although in the Datagram Transport Layer Security (DTLS) Extension to
Establish Keys for the Secure Real-time Transport Protocol (SRTP), section
5.1.2 <https://tools.ietf.org/html/rfc5764#section-5.1.2> it is stated that
it should be between 20 and 63 (not 64).

Is this a bug?

-- 


This e-mail message is intended only for the use of the intended recipient(s).
The information contained therein may be confidential or privileged,
and its disclosure or reproduction is strictly prohibited.
If you are not the intended recipient, please return it immediately to its 
sender 
at the above address and destroy it. 

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

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

Reply via email to