Sorry for the delayed reply - I had a few small issues compiling, but kamailio then fails to start with secsipid_verify() not found:

During startup:

 0(1) ERROR: <core> [core/cfg.y:3870]: yyparse(): cfg. parser: failed to find command secsipid_verify (params 2)

Versions:

[ben@NV0162~/projects/cnam_relay]$ dc exec cnam-sti-vs kamailio -v
version: kamailio 5.9.0-dev0 (x86_64/linux) 951ab1
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 951ab1
compiled on 21:42:15 Mar 19 2024 with gcc 12.2.0

[ben@NV0162~/projects/cnam_relay]$ dc exec cnam-sti-vs secsipidx -version
secsipidx v1.3.2

This is my Dockerfile in case I'm missing something in compilation:

FROM golang:1.22.1-bookworm AS secsipidbuilder
ARG SECSIPID_VERSION=v1.3.2
ENV GO111MODULE=off
RUN    cd / \
    && git clone https://github.com/asipto/secsipidx.git \
    && cd secsipidx \
    && make \
    && make install \
    && cd / \
    && apt update \
    && apt upgrade -y \
    && apt install -y git make automake autoconf libtool libcurl4-openssl-dev \
                      sngrep gnupg2 wget lsb-release openssl libssl-dev \
                      pkg-config uuid-dev sip-tester \
    && apt install -y pkg-config gcc bison flex g++ libssl-dev libxml2-dev \
                      libjson-c-dev libpcre3 libjansson-dev libpcre3-dev  \
                      libhiredis-dev libsqlite3-dev libpq-dev libevent-dev \
                      sqlite3 uuid-dev \
    && cd /secsipidx \
    && make install \
    && git clone \
            -b master \
            --single-branch https://github.com/kamailio/kamailio.git /kamailio \
    && cd /kamailio \
    && make include_modules="jansson json ndb_redis db_sqlite db_postgres \
                             secsipid secsipid_proc http_async_client avpops \
                             uuid" prefix="/" cfg \
    && make all \
    && make install \
    && apt clean \
    && apt-get autoremove --yes \
    && cd / \
    && rm -rf /var/lib/{apt,dpkg,cache,log}/ \
    && rm -rf /kamailio \
    && rm -rf /secsipidx

COPY etc/kamailio /etc/kamailio


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3784/2009632594@github.com>