Hi, I'm trying to avoid that. I would like to save all what I need just in
acc_cdr table. Is that posible?
2017-03-20 11:39 GMT-03:00 Kordován Szabolcs :
> Hi,
>
> In the table acc you can see what you need. You can use callid to connect
> the rows.
>
> Regards,
> Szabolcs
>
> 2017-03-20 14:45 GM
Hi,
In the table acc you can see what you need. You can use callid to connect
the rows.
Regards,
Szabolcs
2017-03-20 14:45 GMT+01:00 Diego Nadares :
> Hi,
>
> Sorry, . I meant the sip_code/sip_reason of the message that hangup the
> call.
>
> For example:
>
> *** 1. row
Hi,
Sorry, . I meant the sip_code/sip_reason of the message that hangup the
call.
For example:
*** 1. row ***
id: 160
method: BYE
from_tag: 1
to_tag: 56
callid: 1-2397@172.16.213.21
Hi,
How do you mean 'hangup cause'? ISUP cause call?
If the server supports isup cause it can insert an additional header (eg.
X-Asterisk-HangupCauseCode) but it is not mandatory. I think you have to
know the name of the header which contains the cause code and you can read
it.
if (is_present_hf(
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 :
> Hi guys,
>
> I have configured to use cdr with extra fields
>
> modparam("acc", "cdr_extra",
> *"sip_code=$rs;
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);i