I try to do

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:

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]:

Troubleshooting

it's a bug at the documentation or in the code
I see next:
https://www.kamailio.org/docs/modules/devel/modules/acc_json.html#acc.p.cdr_json_pre_encoded_prefix

But in the code I see a litle bit another
https://github.com/kamailio/kamailio/blob/5.5/src/modules/acc_json/acc_json_mod.c#L95C5-L95C27

Please fix it either in the code or documentation
Now it works like this:

modparam("acc_json", "cdr_extra", "spx_resp=$avp(spx_resp)")
modparam("acc_json", "cdr_pre_encoded_prefix", "spx_resp")

Reproduction

Debugging Data

(paste your debugging data here)

Log Messages

(paste your log messages here)

SIP Traffic

(paste your sip traffic here)

Possible Solutions

Additional Information

(paste your output here)
(paste your output here)


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/3584@github.com>