Hello again,
Sorry for the spam, does someone have an idea about this ?
Thanks.
[cid:image001.png@01D593BA.B6EE0530]<http://www.sewan.fr/>
David Villaume
Ingénieur VOIX
T +33 (0) 1 56 37 73 21<tel:+33%20(0)%201%2056%2037%2073%2021>
E david.villaume@sewan.fr<mailto:david.villaume@sewan.fr>
[cid:image006.jpg@01D593BA.B6F9C500]
2 cité Paradis, 75010 Paris
Retrouvez-nous sur
www.sewan.fr<http://www.sewan.fr>
[cid:image006.jpg@01D593BA.B6F9C500]
[cid:image003.png@01D593BA.B6EE0530]<https://www.linkedin.com/company/sewan-communications>
[cid:image004.png@01D593BA.B6EE0530]<http://twitter.com/SewanGroupe>
[cid:image005.jpg@01D593BA.B6EE0530]<http://www.sewan.fr/suivez-nous/>
De : David VILLAUME
Envoyé : mardi 29 octobre 2019 10:52
À : sr-users(a)lists.kamailio.org
Objet : Module acc - How to get sip_reason/code on log_write_cdr() messages
Hello,
I'm trying to get the reason in my cdrs in log_write_cdr() messages while I see It in
acc_log_request() messages.
Is there a way to retrieve it in log_write_cdr() messages ?
Bellow is my config :
modparam("acc", "log_level", 1)
modparam("acc", "log_facility", "LOG_LOCAL3")
modparam("acc", "cdr_log_enable", 1)
modparam("acc", "log_flag", 1)
modparam("acc", "failed_transaction_flag", 2)
modparam("acc", "log_missed_flag", 3)
modparam("acc", "report_cancels", 1)
modparam("acc", "cdr_on_failed", 1)
modparam("acc", "cdr_enable", 1)
modparam("acc", "cdr_facility", "LOG_LOCAL3")
modparam("acc", "cdr_expired_dlg_enable", 1)
modparam("acc", "cdr_start_on_confirmed", 1)
modparam("acc", "cdr_extra",
"call_id=$ci;src_ip=$si;fU=$fU;")"
David VILLAUME