Multiple Media IP

Hi @dmitry.s I want to add multiple media IPs is it possible to add them using this method at the sems?

media-interfaces {
interface internal {
ip4 {
rtp {
address = A.A.A.B
low-port = 16384
high-port = 32769
dscp = 46
use-raw-sockets = off
}
}
}
interface extra {
ip4 {
rtp {
address = A.A.A.A
low-port = 16384
high-port = 32769
dscp = 46
use-raw-sockets = off
}
}
}
interface extra1 {
ip4 {
rtp {
address = A.A.C.A
low-port = 16384
high-port = 32769
dscp = 46
use-raw-sockets = off
}
}
}
}

yes.

this is what I get.

systemctl status sems
● sems.service - SEMS for YETI project
Loaded: loaded (/lib/systemd/system/sems.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-02-04 18:05:50 WAT; 3s ago
Docs: Welcome to Yeti’s documentation! — Yeti documentation
Process: 96641 ExecStart=/usr/sbin/sems -f /etc/sems/sems.conf (code=exited, status=1/FAILURE)
Main PID: 96641 (code=exited, status=1/FAILURE)
CPU: 28ms

Feb 04 18:05:50 yeti25 systemd[1]: Started SEMS for YETI project.
Feb 04 18:05:50 yeti25 systemd[1]: sems.service: Main process exited, code=exited, status=1/FAILURE
Feb 04 18:05:50 yeti25 systemd[1]: sems.service: Failed with result ‘exit-code’.

cat /etc/sems/sems.conf
general {
stderr = no
syslog_loglevel = 2
syslog_facility = LOCAL0

node_id = 1

shutdown_mode {
    code = 508
    reason = "Yeti node in shutdown mode"
    allow_uac = true
}

media_processor_threads = 50
rtp_receiver_threads = 50
session_processor_threads = 100
sip_udp_server_threads = 50
sip_tcp_server_threads = 50

dead_rtp_time=10

default_bl_ttl=0

symmetric_rtp_mode = packets
symmetric_rtp_packets = 10

}

signaling-interfaces {
interface internal {
default-media-interface = internal
ip4 {
sip-udp {
address = 105.112.1.140
port = 5060
use-raw-sockets = off
}
sip-tcp {
address = 105.112.1.140
port = 5060
connect-timeout = 2000
static-client-port = on
idle-timeout=300
use-raw-sockets = off
}
}
}
interface secondary {
default-media-interface = secondary
ip4 {
sip-udp {
address = 105.112.1.140
port = 5061
use-raw-sockets = off
}
sip-tcp {
address = 105.112.1.140
port = 5061
connect-timeout = 2000
static-client-port = on
idle-timeout=300
use-raw-sockets = off
}
}
}
}

media-interfaces {
interface internal {
ip4 {
rtp {
address = 102.219.129.243
low-port = 16384
high-port = 32769
dscp = 46
use-raw-sockets = off
}
}
}
interface secondary {
ip4 {
rtp {
address = 105.112.1.140
low-port = 16384
high-port = 32769
dscp = 46
use-raw-sockets = off
}
}
}
}

It hard to check your config because you haven’t formatted it properly. Also read please SEMS node installation — Yeti documentation - there is explanation what to check in case of error and how to collect logs.

Thank you so much this helped and I was able to fix the error