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@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users