[SR-Users] ACC - Cdr enabled
Diego Nadares
dnadares at gmail.com
Mon Mar 20 14:03:32 CET 2017
I figured out that I can get start_time and end_time from dlg_vars.
The only thing left is hangup cause. Any help with this?
Thanks!
2017-03-20 9:46 GMT-03:00 Diego Nadares <dnadares at gmail.com>:
> 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=$dl
> g_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/57033774/attachment.html>
More information about the sr-users
mailing list