This started happening with 5.8.0. I was to update our project with Docker image from
5.7.1 to 5.8.0
```
kamailio[594]: ERROR: acc [acc_extra.c:169]: parse_acc_extra(): parse failed in
<callid=$dlg(callid);src_user=$(dlg(from_uri){uri.user});dst_user=$(dlg(to_uri){uri.user});xxx_channel_id=$dlg_var(xxx_channel_id);t_error=$dlg_var(to_original_user);src_original_user=$dlg_var(from_original_user);dst_original_user=$dlg_var(to_original_user)id);src_user=$(dlg(from_uri){uri.user});dst_user=$(dlg(to_uri){uri.user});xxx_channel_id=$dlg_var(xxx_channel_id);t_error=$dlg_var(to_original_user);src_original_user=$dlg_var(from_original_user);dst_original_user=$dlg_var(to_original_user>
around position 257
kamailio[594]: ERROR: acc [acc_extra.c:173]: parse_acc_extra(): error
kamailio[594]: ERROR: acc [acc_cdr.c:827]: set_cdr_extra(): failed to parse crd_extra
param
kamailio[594]: ERROR: acc [acc_mod.c:528]: mod_init(): failed to set cdr extra
'callid=$dlg(callid);src_user=$(dlg(from_uri){uri.user});dst_user=$(dlg(to_uri){uri.user});xxx_channel_id=$dlg_var(xxx_channel_id);t_error=$dlg_var(to_original_user);src_original_user=$dlg_var(from_original_user);dst_original_user=$dlg_var(to_original_user)id);src_user=$(dlg(from_uri){uri.user});dst_user=$(dlg(to_uri){uri.user});xxx_channel_id=$dlg_var(xxx_channel_id);t_error=$dlg_var(to_original_user);src_original_user=$dlg_var(from_original_user);dst_original_user=$dlg_var(to_original_user'
kamailio[594]: ERROR: <core> [core/sr_module.c:1039]: init_mod(): Error while
initializing module acc (/usr/lib/x86_64-linux-gnu/kamailio/modules/acc.so)
```
This is how it looks in cfg:
```
modparam("acc", "cdr_extra",
"callid=$dlg(callid);src_user=$(dlg(from_uri){uri.user});dst_user=$(dlg(to_uri){uri.user});"
"xxx_channel_id=$dlg_var(xxx_channel_id);t_error=$dlg_var(to_original_user);"
"src_original_user=$dlg_var(from_original_user);dst_original_user=$dlg_var(to_original_user)")
```
I have tested and it looks like it only happen if cdr_extra fields are bigger > 255
char.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3785
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3785(a)github.com>