[SR-Users] CDRs for failed calls
Mickael Marrache
mickaelmarrache at gmail.com
Wed Jan 28 16:39:39 CET 2015
Hi Will,
Thanks for your reply!
I finally can create transaction records manually by calling commands like acc_db_request.
However, I am forced to use a different schema (CDR schema is different than transaction schema) but it may make sense.
Mickael
From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Will Ferrer
Sent: Wednesday, January 28, 2015 6:08 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] CDRs for failed calls
Hi Mickael
Have you tried looking at these examples in the ACC module to see if what you are looking for can be accomplished at least as far creating ACC records:
http://kamailio.org/docs/modules/4.0.x/modules/acc.html#idp1626120
http://kamailio.org/docs/modules/4.0.x/modules/acc.html#idp1628288
http://kamailio.org/docs/modules/4.0.x/modules/acc.html#idp1632512
http://kamailio.org/docs/modules/4.0.x/modules/acc.html#idp1644232
We also use a mysql routine to move ACC into CDRs in the database, so if we wan't CDRs for failed calls I would modify our routine to make them.
While we do not use it our selves, there is this info here on having the ACC module make CDRs: http://kamailio.org/docs/modules/4.0.x/modules/acc.html#idp91080
I hope that helps.
All the best.
Will Ferrer
Switchsoft
On Mon, Jan 26, 2015 at 5:23 AM, Mickael Marrache <mickaelmarrache at gmail.com> wrote:
Hi,
Is there a way to write CDRs for failed calls?
I tried calling the acc_db_request command from my script, but it inserts a transaction log not a CDR.
Thanks,
Mickael
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150128/35973d38/attachment.html>
More information about the sr-users
mailing list