# Update libsrtp to 1.5.4 or later

**URL:** https://forums.vitalpbx.org/t/update-libsrtp-to-1-5-4-or-later/373
**Category:** VitalPBX
**Created:** [August 30, 2021, 7:43pm UTC](https://forums.vitalpbx.org/t/update-libsrtp-to-1-5-4-or-later/373 "2021-08-30T19:43:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pbxprovider](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/p/6de8d8/32.png) [@pbxprovider](https://forums.vitalpbx.org/u/pbxprovider)
#### Post date: [August 30, 2021, 7:43pm UTC](https://forums.vitalpbx.org/t/update-libsrtp-to-1-5-4-or-later/373/1 "2021-08-30T19:43:57Z")

</div>

Hi,

I’ve some SRTP issues, and the Asterisk wiki…  
[https://wiki.asterisk.org/wiki/display/AST/libsrtp](https://wiki.asterisk.org/wiki/display/AST/libsrtp)  
…says ‘the minimum supported version of libsrtp supported by Asterisk is 1.5.4’.

Unfortunately, CentOS 7 only includes libsrtp up to 1.4.4.

So can you tell me how to securely update to libsrtp 1.5.4 or later?  
I would prefer a followable step-by-step guide.

BR

---

<div class="post-metadata">

### Author: ![pbxprovider](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/p/6de8d8/32.png) [@pbxprovider](https://forums.vitalpbx.org/u/pbxprovider)
#### Post date: [August 31, 2021, 7:10pm UTC](https://forums.vitalpbx.org/t/update-libsrtp-to-1-5-4-or-later/373/2 "2021-08-31T19:10:43Z")

</div>

Me again…

I see masses of messages like this…

```auto
WARNING[5417][C-0000002a]: chan_sip.c:10937 process_sdp: Failed to receive SDP offer/answer with required SRTP crypto attributes for audio
  == SRTP unprotect failed on SSRC 218124252 because of authentication failure 10
  == SRTCP unprotect failed on SSRC 218124252 because of authentication failure
  == SRTP unprotect failed on SSRC 218124252 because of authentication failure 160
  == SRTCP unprotect failed on SSRC 218124252 because of authentication failure
  == SRTP unprotect failed on SSRC 218124252 because of authentication failure 160
  == SRTP unprotect failed on SSRC 218124252 because of authentication failure 160
  == SRTCP unprotect failed on SSRC 218124252 because of authentication failure
  == SRTP unprotect failed on SSRC 218124252 because of authentication failure 160
  == SRTP unprotect failed on SSRC 218124252 because of authentication failure 160
  == SRTCP unprotect failed on SSRC 218124252 because of authentication failure
  == SRTP unprotect failed on SSRC 218124252 because of authentication failure 160
  == SRTCP unprotect failed on SSRC 218124252 because of authentication failure
  == SRTP unprotect failed on SSRC 218124252 because of authentication failure 160

```

Same issue as described here…

> **[SRTP unprotect failed on SSRC 802983612 because of authentication failure 160](https://community.asterisk.org/t/srtp-unprotect-failed-on-ssrc-802983612-because-of-authentication-failure-160/74793)**
>
> Hi, I am getting below logs on one of my asterisk -: == SRTP unprotect failed on SSRC 802983612 because of authentication failure 10 \[May 30 12:48:19\] ERROR\[18128\]: tcptls.c:522 ast\_tcptls\_client\_start: Unable to connect SIP socket to...

But should also be solved by this, as already described above…  
[https://wiki.asterisk.org/wiki/display/AST/libsrtp](https://wiki.asterisk.org/wiki/display/AST/libsrtp)

So please can anybody help how to install libsrtp 1.5.4 or later on Vital?

BR

---

<div class="post-metadata">

### Author: ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)
#### Post date: [September 1, 2021, 7:02pm UTC](https://forums.vitalpbx.org/t/update-libsrtp-to-1-5-4-or-later/373/3 "2021-09-01T19:02:32Z")

</div>

@pbxprovider,

We expect to migrate to Debian in a couple of months maybe Debian comes with the latest version of the libsrtp library.

Our asterisk packages come compiled with the flag “_ **–with-pjproject-bundled** _”, I don’t really know if activating this flag makes Asterisk download the right version of the libsrtp library, but the Asterisk [documentation](https://wiki.asterisk.org/wiki/display/AST/libsrtp) says the following:

> For production builds and use ./configure --with-pjproject-bundled (of course) to make sure both Asterisk and pjproject are in sync with respect to library versions.

---

<div class="post-metadata">

### Author: ![system](https://forums.vitalpbx.org/uploads/default/original/1X/672b458a1d454755270c2c16adc5316b641c3c6a.png) [@system](https://forums.vitalpbx.org/u/system)
#### Post date: [October 1, 2021, 7:02pm UTC](https://forums.vitalpbx.org/t/update-libsrtp-to-1-5-4-or-later/373/4 "2021-10-01T19:02:41Z")

</div>

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