SEMS srtp error

I’ve installed sems on a test server and it’s connected to Yeti nicely.

I then tried to get srtp working as per the docemenattion at SEMS configuration — Yeti documentation

But I’m getting an error:

root@vlab-ytui-fresh:/etc/sems# sems -E -D 3
1757032562.880994 [#b3e8000/278120] [cfg_error_callback, AmLcConfig.cpp:762] ERROR: /etc/sems/sems.conf:86 [rtp]: no such option 'srtp'
1757032562.881068 [#b3e8000/278120] [readConfiguration, AmLcConfig.cpp:1100] ERROR: failed to parse configuration file: /etc/sems/sems.conf
1757032562.881093 [#b3e8000/278120] [main, sems.cpp:533] ERROR: configuration errors. exiting.

Am I missing a yeti or sems package? Has the configuration changed?

Or is it set via Yeti now? My testing hints at this…

Software on my testing server

dpkg -l '*yeti*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version         Architecture Description
+++-==================-===============-============-======================================
ii  postgresql-16-yeti 1.3.11p9        amd64        provides YETI extension for PostgreSQL
ii  sems-modules-yeti  1.13.108core162 amd64        YETI SBC application module for SEMS
un  sems-yeti          <none>          <none>       (no description available)
ii  yeti-cli           2.1.6           all          simple client for jsonrpc
ii  yeti-web           1.13.29-1       amd64        UI for YETI project


dpkg -l '*sems*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version         Architecture Description
+++-=====================-===============-============-=================================================================
ii  libsems1              1.162.1         amd64        SIP Express Media Server, shared library
ii  sems                  1.162.1         amd64        SIP Express Media Server, very fast and flexible SIP media server
ii  sems-modules-base     1.162.1         amd64        SIP Express Media Server, base applications, plugins and codecs
ii  sems-modules-g729-bcg 0.0.5           amd64        g729 codec for SEMS project
ii  sems-modules-yeti     1.13.108core162 amd64        YETI SBC application module for SEMS
ii  sems-sounds           1.162.1         amd64        SIP Express Media Server, audio files
un  sems-yeti             <none>          <none>       (no description available)

Also reviewed sample config here, but still not able to see it working:

https://github.com/yeti-switch/sems/blob/e75aa549a6079a7507184288c3668e0d823cb4ff/core/etc/sems.conf.sample

Copied that config file to my test sems server, same error after editing file

ERROR: /etc/sems/sems.conf:1367 [rtp]: no such option 'srtp'

After a bit of hunting in the git repo, I found this which seems to have the answers:

https://github.com/yeti-switch/sems/blob/e75aa549a6079a7507184288c3668e0d823cb4ff/unit_tests/etc/sems.conf

There was a hint about this in one of the changelogs

  • Leave me with this, I think I can bolt it together from here. :grinning_face: