We are seeing duplicate or very similiar CDRs being returned by CTX and need to understand why we are seeing them.
The following is a example request and response from our production system. In this example, the records are not technically the same, but we are not sure how this same endpoint could have completed 2 calls in the the given time interval.
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:cdr="
http://cdr.api.ctc.txbu.cisco.com">
<soapenv:Header/>
<soapenv:Body>
<cdr:getCallDetailRecords>
<!--Optional:-->
<endTimeFrom>2013-01-16T20:49:39+0000</endTimeFrom>
<!--Optional:-->
<endTimeTo>2013-01-16T20:49:40+0000</endTimeTo>
<!--Zero or more repetitions:-->
<callTypeList>DIRECTDIAL</callTypeList>
<!--Optional:-->
<companyScope>INTER_COMPANY</companyScope>
<!--Optional:-->
<firstIndex>0</firstIndex>
<!--Optional:-->
<numberOfRecords>100</numberOfRecords>
</cdr:getCallDetailRecords>
</soapenv:Body>
</soapenv:Envelope>
<env:Envelope xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:getCallDetailRecordsResponse xmlns:ns2="
http://cdr.api.ctc.txbu.cisco.com">
<return>
<callDetailRecords>
<callType>DIRECTDIAL</callType>
<callee>18668451379</callee>
<calleeAlternateIdentities>12.120.222.217</calleeAlternateIdentities>
<calleeRegion>Americas</calleeRegion>
<calleeServiceProvider>VERIZON</calleeServiceProvider>
<caller>14084249412</caller>
<callerAlternateIdentities>12.120.217.10</callerAlternateIdentities>
<callerOrganization>CTCS_Enterprise</callerOrganization>
<callerRegion>Americas</callerRegion>
<callerServiceProvider>ATT</callerServiceProvider>
<companyScope>INTER_COMPANY</companyScope>
<disconnectCauseCode>21</disconnectCauseCode>
<disconnectCauseStr>"Call rejected"</disconnectCauseStr>
<duration>0</duration>
<endTime>2013-01-16T20:49:39.000Z</endTime>
<guid>97AC5B3A988-7F2E4DD38FB-ACC3B88F55F-805707EAF4F</guid>
<id>8cf85e573c31cc83013c451fd3894a5f</id>
<serverIP>12.120.222.217</serverIP>
<serverName>lslilt04ctx</serverName>
<startTime>2013-01-16T20:49:39.000Z</startTime>
</callDetailRecords>
<callDetailRecords>
<callType>DIRECTDIAL</callType>
<callee>18668451379</callee>
<calleeAlternateIdentities>12.120.222.216</calleeAlternateIdentities>
<calleeRegion>Americas</calleeRegion>
<calleeServiceProvider>VERIZON</calleeServiceProvider>
<caller>14084249412</caller>
<callerAlternateIdentities>12.120.217.10</callerAlternateIdentities>
<callerOrganization>CTCS_Enterprise</callerOrganization>
<callerRegion>Americas</callerRegion>
<callerServiceProvider>ATT</callerServiceProvider>
<companyScope>INTER_COMPANY</companyScope>
<disconnectCauseCode>21</disconnectCauseCode>
<disconnectCauseStr>"Call rejected"</disconnectCauseStr>
<duration>0</duration>
<endTime>2013-01-16T20:49:39.000Z</endTime>
<guid>FB199E3423B-93EE7ED4DFD-434C47B0B36-BDDECD39640</guid>
<id>8cf85e573c31cc83013c451fd58d4a78</id>
<serverIP>12.120.222.216</serverIP>
<serverName>lslilt03ctx</serverName>
<startTime>2013-01-16T20:49:39.000Z</startTime>
</callDetailRecords>
<totalNumberFound>2</totalNumberFound>
</return>
</ns2:getCallDetailRecordsResponse>
</env:Body>
</env:Envelope>
Here is another example and in this case the records are identical except for the ID.
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:cdr="
http://cdr.api.ctc.txbu.cisco.com">
<soapenv:Header/>
<soapenv:Body>
<cdr:getCallDetailRecords>
<!--Optional:-->
<endTimeFrom>2013-01-16T01:49:34+0000</endTimeFrom>
<!--Optional:-->
<endTimeTo>2013-01-16T01:49:35+0000</endTimeTo>
<!--Zero or more repetitions:-->
<callTypeList>DIRECTDIAL</callTypeList>
<!--Optional:-->
<companyScope>INTRA_COMPANY</companyScope>
<!--Optional:-->
<firstIndex>0</firstIndex>
<!--Optional:-->
<numberOfRecords>100</numberOfRecords>
</cdr:getCallDetailRecords>
</soapenv:Body>
</soapenv:Envelope>
<env:Envelope xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:getCallDetailRecordsResponse xmlns:ns2="
http://cdr.api.ctc.txbu.cisco.com">
<return>
<callDetailRecords>
<callType>DIRECTDIAL</callType>
<callee>11111111471</callee>
<calleeOrganization>BP Corporation</calleeOrganization>
<calleeRegion>Americas</calleeRegion>
<calleeServiceProvider>ATT</calleeServiceProvider>
<caller>11111111430</caller>
<callerOrganization>BP Corporation</callerOrganization>
<callerRegion>Americas</callerRegion>
<callerServiceProvider>ATT</callerServiceProvider>
<companyScope>INTRA_COMPANY</companyScope>
<disconnectCauseCode>16</disconnectCauseCode>
<disconnectCauseStr>Normal call clearing</disconnectCauseStr>
<duration>2798</duration>
<endTime>2013-01-16T01:49:34.000Z</endTime>
<guid>219983</guid>
<id>8cf85e573c31cc83013c4131b8c53e99</id>
<serverIP>12.120.217.140</serverIP>
<serverName>sjc02-att-cm-1</serverName>
<startTime>2013-01-16T01:02:56.000Z</startTime>
</callDetailRecords>
<callDetailRecords>
<callType>DIRECTDIAL</callType>
<callee>11111111471</callee>
<calleeOrganization>BP Corporation</calleeOrganization>
<calleeRegion>Americas</calleeRegion>
<calleeServiceProvider>ATT</calleeServiceProvider>
<caller>11111111430</caller>
<callerOrganization>BP Corporation</callerOrganization>
<callerRegion>Americas</callerRegion>
<callerServiceProvider>ATT</callerServiceProvider>
<companyScope>INTRA_COMPANY</companyScope>
<disconnectCauseCode>16</disconnectCauseCode>
<disconnectCauseStr>Normal call clearing</disconnectCauseStr>
<duration>2798</duration>
<endTime>2013-01-16T01:49:34.000Z</endTime>
<guid>219983</guid>
<id>8cf85e573c31cc83013c4168a7417eb9</id>
<serverIP>12.120.217.140</serverIP>
<serverName>sjc02-att-cm-1</serverName>
<startTime>2013-01-16T01:02:56.000Z</startTime>
</callDetailRecords>
<totalNumberFound>2</totalNumberFound>
</return>
</ns2:getCallDetailRecordsResponse>
</env:Body>
</env:Envelope>