[asterisk-users] CDR uniqueid - across multiple servers?

Mike list at net-wall.com
Mon Nov 21 14:25:11 CST 2011


Thank you, just what I was looking for.

 

Danny: that`s a good solution, but I wanted something that didn't depend on
one more extra script running.  I have plenty of those already.

 

Mike

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Hamilton
Sent: Monday, November 21, 2011 3:12 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] CDR uniqueid - across multiple servers?

 


Mike,

Just enter a unique "systemname" into asterisk.conf for each box. This
system identifier is appended to the front of the unique id field in cdr.

/etc/asterisk/asterisk.conf

[options]
systemname=asterisk1








  _____  

From: danny at debsinc.com
To: asterisk-users at lists.digium.com
Date: Mon, 21 Nov 2011 13:50:26 -0600
Subject: Re: [asterisk-users] CDR uniqueid - across multiple servers?

Since the MYSQL CDR is not the standard /var/log/asterisk/cdr-csv/Master.csv
file, but an add_on where uniqueid is just a table field varchar(32), you
could create an AGI to touch the field during the hangup extension and
append the servername or a number to the front, so instead of 123456.111 you
could have server1.123456.111 or you could make a daemon running outside of
Asterisk to do the same thing.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike
Sent: Monday, November 21, 2011 11:44 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] CDR uniqueid - across multiple servers?

 

Hi,

 

Is there a way to add a uniqueid prefix to each server to make sure that the
CDRs uniqueids are indeed  unique across multiple servers? I am using MYSQL
tables to keep these records.

 

Regards,

 

Mike

 

 

 


-- _____________________________________________________________________ --
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111121/51b4d1b5/attachment.htm>


More information about the asterisk-users mailing list