VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ruimota at gmail.com Guest
|
Posted: Fri Jun 26, 2015 6:05 am Post subject: [asterisk-users] Preserve CDR unique across multiple servers |
|
|
Hi.
I am using two servers in my configuration: one for phones registration and another one as gateway, where all the providers are connected. Both are connected through an IAX trunk.
I am having some trouble on matching both CDR’s, since durations for a call are not always the same in both servers, start/end date time are sometimes also different, etc.
Is there any way to send the uniqueid of the original call, maybe through the IAX trunk, and get it on the gateway server to save it in the final CDR’s userfield? That way they would match by that field.
Thank you in advance.
--
Rui Mota |
|
Back to top |
|
|
asterisk at voipbusine... Guest
|
Posted: Fri Jun 26, 2015 8:53 am Post subject: [asterisk-users] Preserve CDR unique across multiple servers |
|
|
Check out the “uniqueid” parameter in cdr.conf and cdr_adaptive_odbc.conf.
John V.
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Rui Mota
Sent: Friday, June 26, 2015 7:05 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Preserve CDR unique across multiple servers
Hi.
I am using two servers in my configuration: one for phones registration and another one as gateway, where all the providers are connected. Both are connected through an IAX trunk.
I am having some trouble on matching both CDR’s, since durations for a call are not always the same in both servers, start/end date time are sometimes also different, etc.
Is there any way to send the uniqueid of the original call, maybe through the IAX trunk, and get it on the gateway server to save it in the final CDR’s userfield? That way they would match by that field.
Thank you in advance.
--
Rui Mota |
|
Back to top |
|
|
ruimota at gmail.com Guest
|
Posted: Fri Jun 26, 2015 9:19 am Post subject: [asterisk-users] Preserve CDR unique across multiple servers |
|
|
I am already using the unique in both servers, but both generate different id’s, but i am unable to get the original one from the gateway box to store it in the final CDR…
--
Rui Mota
Sent with Sparrow
On Friday 26 June 2015 at 14:52, Tech Support wrote: Quote: | <![endif]--> <![endif]-->
Check out the “uniqueid” parameter in cdr.conf and cdr_adaptive_odbc.conf.
John V.
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Rui Mota
Sent: Friday, June 26, 2015 7:05 AM
To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
Subject: [asterisk-users] Preserve CDR unique across multiple servers
Hi.
I am using two servers in my configuration: one for phones registration and another one as gateway, where all the providers are connected. Both are connected through an IAX trunk.
I am having some trouble on matching both CDR’s, since durations for a call are not always the same in both servers, start/end date time are sometimes also different, etc.
Is there any way to send the uniqueid of the original call, maybe through the IAX trunk, and get it on the gateway server to save it in the final CDR’s userfield? That way they would match by that field.
Thank you in advance.
--
Rui Mota
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
tiago.geada at gmail.com Guest
|
Posted: Fri Jun 26, 2015 11:00 am Post subject: [asterisk-users] Preserve CDR unique across multiple servers |
|
|
Hi,
We use sip headers to send the linkedid across servers, and place it into CDR as remoteLinkedId
On 26 June 2015 at 15:18, Rui Mota <ruimota@gmail.com (ruimota@gmail.com)> wrote:
Quote: | I am already using the unique in both servers, but both generate different id’s, but i am unable to get the original one from the gateway box to store it in the final CDR…
--
Rui Mota
Sent with Sparrow
On Friday 26 June 2015 at 14:52, Tech Support wrote:
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
remiq at monmouth.com Guest
|
Posted: Fri Jun 26, 2015 1:23 pm Post subject: [asterisk-users] Preserve CDR unique across multiple servers |
|
|
I had that same issue but I use SIP not IAX. What I ended up doing was adding a SIP CALL ID field in custom_cdr module and setting it in the dialplan.
Remi
On 06/26/2015 07:04 AM, Rui Mota wrote:
Quote: | Hi.
I am using two servers in my configuration: one for phones registration and another one as gateway, where all the providers are connected. Both are connected through an IAX trunk.
I am having some trouble on matching both CDRs, since durations for a call are not always the same in both servers, start/end date time are sometimes also different, etc.
Is there any way to send the uniqueid of the original call, maybe through the IAX trunk, and get it on the gateway server to save it in the final CDRs userfield? That way they would match by that field.
Thank you in advance.
--
Rui Mota
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|