<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Error accessing CDR Tables</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=194743&amp;mbCategoryId=0" />
  <subtitle>Error accessing CDR Tables</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=194743&amp;mbCategoryId=0</id>
  <updated>2013-05-23T15:32:00Z</updated>
  <dc:date>2013-05-23T15:32:00Z</dc:date>
  <entry>
    <title>Getting negative Value</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=2071686" />
    <author>
      <name>Chandar vr</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=2071686</id>
    <updated>2010-03-26T16:37:18Z</updated>
    <published>2010-03-26T16:37:18Z</published>
    <summary type="html">Hi,
I am parsing CDR files which i get from one of my Call manager.
But i noticed that for few of the records for 'origIpAddr' i am getting a negative value.
For eg : -1527805675
 
Please help me on this..
 
Thanks/Chandar</summary>
    <dc:creator>Chandar vr</dc:creator>
    <dc:date>2010-03-26T16:37:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to distinguish Incoming[PSTN],Outgoing[PSTN] and Internal calls CDR</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1964769" />
    <author>
      <name>Chandar vr</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1964769</id>
    <updated>2010-02-12T22:36:44Z</updated>
    <published>2010-02-12T22:36:44Z</published>
    <summary type="html">Hi,
My CM version is 7.1.3.21901-1.
Can i rely on origIpv4v6Addr or destIpv4v6Addr fields and come to a conclusion that its a incoming,outgoing or Internal.
thanks/Chandar
 
[quote]Well, you didn't mention which version of CM so I'll give you a couple of ways....
Take a look at origDeviceName and destDeviceName.
If the call is coming from the PSTN, the origDeviceName will have either the IP address or Name of your Gateway.
If the call is going out to the PSTN, the destDeviceName will have the IP Address or Name of one of your Gateways.
 
Alternatively,
If you have a later version of Cm you can look at the origIpv4v6Addr or destIpv4v6Addr fields for the IP addresses of your Gateways.
 
This is a bit more accurate than looking at the origCalledPartyNumber and origCallingPartyNumber fields as if you, like I, have H323 Gatekeeper controlled gateways, 10 digits don't always mean Off-net or On-Net.
 
 [/quote]</summary>
    <dc:creator>Chandar vr</dc:creator>
    <dc:date>2010-02-12T22:36:44Z</dc:date>
  </entry>
  <entry>
    <title>How to distinguish Incoming[PSTN],Outgoing[PSTN] and Internal calls CDR</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1964764" />
    <author>
      <name>Chandar vr</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1964764</id>
    <updated>2010-02-12T22:36:44Z</updated>
    <published>2010-02-12T22:36:44Z</published>
    <summary type="html">Hi,
 
How is it possible to distinguish between incoming,outgoing and Internal calls from CDR and CMR files,
Is there any fields by which we can easily recognise this.
 
I tried using finalCalledPartyNumberPartition &amp; callingPartyNumberPartition, 
 
for eg :Part_Admin,Part_VMPilotNumber,PART_DomesticPSTN .
 
Please help me on this.
 
Thanks/Chandar</summary>
    <dc:creator>Chandar vr</dc:creator>
    <dc:date>2010-02-12T22:36:44Z</dc:date>
  </entry>
  <entry>
    <title>Error while trying to retrive CDR files</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1964700" />
    <author>
      <name>Chandar vr</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1964700</id>
    <updated>2010-02-12T22:36:43Z</updated>
    <published>2010-02-12T22:36:43Z</published>
    <summary type="html">Hi 

I am getting the following error when i try to call the api get_file_list() and get_file with valid parameters.

[code]
$client = new SoapClient('https://ip:8443/CDRonDemandService/services/CDRonDemand?wsdl',
                        array('trace'=&gt;1,
                      'exceptions'=&gt;1,
                      'location'=&gt;"https://ip:8443/axl]",
                      'login'=&gt;'user',
                      'password'=&gt;'pwd',
                       ))
$val=$client-&gt;get_file_list(array("Start Time"=&gt;'200909101000',"End Time"=&gt;'200909101059'));
print_r ($val);
 [/code]
 
The error i am getting is
[code]
Fatal error:  Uncaught SoapFault exception: [SOAP-ENV:Client] cvc-complex-type.3.2.2: Attribute 'SOAP-ENV:encodingStyle' is not allowed to appear in element 'SOAP-ENV:Envelope'. in /path/a.php:253Stack trace:
#0 [internal function]: SoapClient-&gt;__call('get_file_list', Array)#1 /path/a.php(25): SoapClient-&gt;get_file_list(Array)
#2 {main}  thrown in /path/a.php on line 25
[/code]
 
Please help me on this ...</summary>
    <dc:creator>Chandar vr</dc:creator>
    <dc:date>2010-02-12T22:36:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: Getting varVQMetrics as blank</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1810133" />
    <author>
      <name>Chandar vr</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1810133</id>
    <updated>2009-12-02T14:33:57Z</updated>
    <published>2009-12-02T14:33:57Z</published>
    <summary type="html">So i can consider the calles with VarVQmetrics as blank as invalid or unsuccessfull calls right ?</summary>
    <dc:creator>Chandar vr</dc:creator>
    <dc:date>2009-12-02T14:33:57Z</dc:date>
  </entry>
  <entry>
    <title>Getting varVQMetrics as blank</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1808007" />
    <author>
      <name>Chandar vr</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1808007</id>
    <updated>2009-12-01T20:00:30Z</updated>
    <published>2009-12-01T20:00:30Z</published>
    <summary type="html">Hi,
From the CMR files i am parsing all the values,But i am surprised to see for few of the records varVQMetrics is blank,
Does this mean that the call has not completed or does this means the call is of poor quality
 
Presently i am assuming that if the duration of the call is &gt; 0 and varVQMetrics &lt;&gt; "" i assume that the call is valid one
If varVQMetrics values &lt; 3.2  --- poor calls
If varVQMetrics values &lt; 3.8 &amp; &gt; 3.2 Ok Calls
If varVQMetrics values &lt; 4.5 &amp; &gt; 3.8 good Calls
If varVQMetrics values &lt; 5 &amp; &gt; 4.5 excellent Calls
 
If any varVQMetrics has the value as zero should i assume it as invalid calls ?
 
Please help me on this ...</summary>
    <dc:creator>Chandar vr</dc:creator>
    <dc:date>2009-12-01T20:00:30Z</dc:date>
  </entry>
  <entry>
    <title>Error accessing CDR Tables</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1623468" />
    <author>
      <name>Chandar vr</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=194743&amp;messageId=1623468</id>
    <updated>2009-09-17T18:18:19Z</updated>
    <published>2009-09-17T18:18:19Z</published>
    <summary type="html"> 
Hi all, 

I am getting error when i tried to access the CDR table through executesqlquery soap api. 
 
[code]
$querymyva=$client-&gt;executeSQLQuery(array('sql'=&gt;"select * from car:tbl_billing_data where duration &gt; 100")); 
[/code]

I am getting the following error "No connect permission" and the error code is -387 

But when i execute the query from CLI i am getting the proper Data. 
Please help me on this. 

thanks/Chandar 
 
 </summary>
    <dc:creator>Chandar vr</dc:creator>
    <dc:date>2009-09-17T18:18:19Z</dc:date>
  </entry>
</feed>

