Documentation is wrong. Parameter is actually cdr_pre_encoded_prefix. Regards, Bastian
On Mon, Sep 25, 2023 at 8:17 AM Oleg Podguyko via sr-users < [email protected]> wrote: > I try to use cdr_json_pre_encoded_prefix (string) parameters from > acc_json module > > > modparam("acc_json", "cdr_extra", "spx_resp=$avp(spx_resp)") > > modparam("acc_json", "cdr_json_pre_encoded_prefix", "spx_resp") > > > do restart and get next mistakes: > > > sep 22 14:17:15 vms-vms-spx-1 kamailio[581922]: *ERROR: <core> > [core/modparam.c:169]: set_mod_param_regex(): parameter > <cdr_json_pre_encoded_prefix> of type <1:string> not found in module > <acc_json>* > > сен 22 14:17:15 vms-vms-spx-1 kamailio[581922]: *CRITICAL: <core> > [core/cfg.y:3686]: yyerror_at(): parse error in config file > /etc/kamailio_vmsspx/modules.cfg, line 125, column 63: Can't set module > parameter* > > sep 22 14:17:15 vms-vms-spx-1 kamailio[581922]: ERROR: bad config file (1 > errors) (parsing code: 0) > > sep 22 14:17:15 vms-vms-spx-1 systemd[1]: *kamailio_vmsspx.service: > Control process exited, code=exited status=255* > > sep 22 14:17:15 vms-vms-spx-1 systemd[1]: *kamailio_vmsspx.service: > Failed with result 'exit-code'.* > > What’s wrong? > I used: > > [opodguyko@vms-vms-spx-1 ~]$ kamailio -version > > version: kamailio 5.5.3 (x86_64/linux) b02728-dirty > > flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, > DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, 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_URI_SIZE 1024, > BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB > > poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. > > id: b02728 -dirty > > compiled on 15:35:46 Dec 15 2021 with gcc 8.3.1 > > [opodguyko@vms-vms-spx-1 ~]$ > > This parameter was added at release 5.5.0 > > Oleg Podguyko > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: >
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
