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