add homer options to el configuration

pull/529/head
netaskd 7 years ago
parent 1b489bd45d
commit 5ce19a8f9f

@ -167,6 +167,21 @@ build_opts() {
then
OPTS+=" --max-sessions=$MAX_SESSIONS"
fi
if [[ -n "$HOMER_SERVER" ]]
then
OPTS+=" --homer=$HOMER_SERVER"
fi
if [[ -n "$HOMER_PROTO" ]]
then
OPTS+=" --homer-protocol=$HOMER_PROTO"
fi
if [[ -n "$HOMER_CAPTURE_ID" ]]
then
OPTS+=" --homer-id=$HOMER_CAPTURE_ID"
fi
}
start() {

@ -44,3 +44,7 @@ LISTEN_UDP=127.0.0.1:2222 # IP address and port combination for UDP
#RE_USER=ngcp-rtpengine # Run rtpengine as this specific user
#RE_GROUP=ngcp-rtpengine # allow this group to control rtpengine in kernel mode
#HOMER_SERVER=127.0.0.1:9060 # Address of Homer server for RTCP stats
#HOMER_PROTO=udp # Transport protocol for Homer (default udp)
#HOMER_CAPTURE_ID=1234 # 'Capture ID' to use within the HEP protocol

Loading…
Cancel
Save