SRTP Mechanism in Asterisk

Hello, I want to ask about the mechanism that occurs on the asterisk server when VoIP communication activates the SRTP protocol as a payload security media.

In peer2peer communication that I have tried with activated SRTP, using Wireshark I found that the packet payload received by the asterisk server from endpoint 1 has a difference with the packet payload sent by the asterik server to endpoint 2.

Then, if the communication is broadcast, then how can the asterisk server process data that has been encrypted by the SRTP so the data from endpoint 1 not sent to himself?

Media is encrypted as it exits Asterisk and is decrypted as it enters Asterisk. Internally the media is in the clear, we don’t act as a proxy so each leg is indepedent.

So the asterisk itself already has a mechanism to do the encryption and decryption process using the AES ICM method which is the default encryption method on SRTP ?

Yes, it uses the libsrtp library.

Thanks for your answers.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.