Daniel-Constantin Mierla writes:
if you want it as separate column, should work,
one option being with
onreply_route[x] and storing the header value in an avp.
yes, i thought about
that, but since acc_sip_reason_column is mandatory
column, it would be better to re-use it also for reason header.
If you want it over the existing column, then you
have to patch the
module, eventually adding a modparam to control this behaviour. The
reply should be accessible via the transaction structure that is passed
to acc module via a callback function.
i'll see if i'm able to do that.
Pointing it out for safety -- the log backend is writing to syslog in
format: name1=value1;name2=value2;...
The reason header contains such body, therefore check it see if it
doesn't break it - I expect to be enclosed in double quotes and escaped.
Cheers,
Daniel
--
Daniel-Constantin Mierla -