Hello!
We are using rtpengine 8.4.1.1 and one of our endpoints is
a Linphone. rtpengine is used as a SRTP - RTP terminator. In a case of
long calls and using hold/unhold in this calls we have an issue with
audio loss, means after off-hold audio is not being restored.
After investigation this issue with Linphone team, they came to this conclusion:
It is clearly related to ROC (rollover counter of SRTP context).
After several minutes, the sequence number of received RTP packets reaches above 65535 and resumes at 0.
In order to protect against replays, the receive-side SRTP context
maintains a ROC counter which the number of rollover above 65535.
This ROC is part of the cryptographic context and used to decipher
incoming packets. This means that if sender and receiver have
unsynchronized ROC numbers, the receiver won't be able to decrypt.
And this is what happens here.
In Linphone, the SRTP context are kept during all the duration of the calls, as long as the SRTP master keys are not changed.
The scenario could be as follows:
Please note that the policy of Linphone (consisting of keeping SRTP context for all the duration of the call unless there is a master key change) is the result of two things:
My recommendation would then be to try the following:
Can this be an issue with RTPEngine?
Thanks in advance,
Ihor
--
You received this message because you are subscribed to the Google Groups "rtpengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtpengine+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rtpengine/cc7e4400-44d7-4d24-89a1-adef353d52den%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rtpengine/9ef04917-3b5f-4c63-a622-57bf49f644b1n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "rtpengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtpengine+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rtpengine/c8920081-c59d-4e15-b7ba-bcc7e90ed222n%40googlegroups.com.