[SR-Users] ACC - Cdr enabled

Diego Nadares dnadares at gmail.com
Mon Mar 20 13:46:31 CET 2017


Hi guys,

I have configured to use cdr with extra fields

modparam("acc", "cdr_extra",
    *    "sip_code=$rs;sip_reason=$rr;"*
        "hangup_src=$dlg_var(hangup_disposition);"
      "prefix=$dlg_var(prefix);gos=$dlg_var(gos);endpoint_type=$
dlg_var(endpoint_type);"
        "ip_a=$dlg_var(ip_a);ip_b=$dlg_var(ip_b);"

Is this the right way to always save the hangup cause? Or is another better
way? Because, when call is finished with a bye both fields are empty.

The other thing is that I need to save, start_time and end_time with
seconds.microseconds (1490013250.601707). Is this possible?

Thanks!

Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170320/c36dc9e4/attachment.html>


More information about the sr-users mailing list