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
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
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@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@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
Hi Mickael
Glad I could help some at least.
I hope all is going well with you and best of luck with your development.
Will
On Wed, Jan 28, 2015 at 8:39 AM, Mickael Marrache <mickaelmarrache@gmail.com
wrote:
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@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@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
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