<?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>VoiceMail-left indicator in CDR?</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7305223" />
  <subtitle>VoiceMail-left indicator in CDR?</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7305223</id>
  <updated>2013-05-19T00:47:12Z</updated>
  <dc:date>2013-05-19T00:47:12Z</dc:date>
  <entry>
    <title>RE: Re: New Message from Shivinder Singh in Serviceability XML (SXML) - Cal</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8239142" />
    <author>
      <name>Shivinder Singh</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8239142</id>
    <updated>2012-11-01T16:12:30Z</updated>
    <published>2012-11-01T16:12:30Z</published>
    <summary type="html">Hi Giorgio Zanoni
Assuming you have CSV records in a database with matching column names,
 - call duration is in the [b]duration[/b] field (in seconds)
 - calling number is in the [b]callingPartyNumber[/b] field (I've seen 4 digit - internal, 10 digit - US, 12 digit - Intl. - numbers in this field)
 - called number depends - [b]originalCalledPartyNumber[/b], [b]finalCalledPartyNumber[/b] and [b]huntPilotDN[/b] are 3 places to check (that I know of)
 - call time is in [b]dateTimeOrigination[/b] field (seconds elapsed since January 1st, 1970)
Quick C# code for: 
 - converting call time: DateTime call_time = (new DateTime(1970,1,1)).AddSeconds(Convert.ToDouble(dateTimeOrigination));
 - getting duration: TimeSpan timespan_duration = new TimeSpan(0, 0, int.Parse(duration));</summary>
    <dc:creator>Shivinder Singh</dc:creator>
    <dc:date>2012-11-01T16:12:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Shivinder Singh in Serviceability XML (SXML) - Cal</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8193668" />
    <author>
      <name>Giorgio Zanoni</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8193668</id>
    <updated>2012-10-31T23:18:30Z</updated>
    <published>2012-10-31T23:18:30Z</published>
    <summary type="html">Dear Shivinder Sing,
I need you support because I'm developing a basic C# report system that show few information from a CDR-csv dump imported into SQL.
I have problem to calculate the call duration, calling number e called number etc...
 
Can you give me a little help to understand how correlate record in CDR-csv dump?
I already read each document that I found but without success.
 
Thanks in advance.</summary>
    <dc:creator>Giorgio Zanoni</dc:creator>
    <dc:date>2012-10-31T23:18:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Shivinder Singh in Serviceability XML (SXML) - Cal</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7344590" />
    <author>
      <name>Shivinder Singh</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7344590</id>
    <updated>2012-10-04T16:35:12Z</updated>
    <published>2012-10-04T16:33:21Z</published>
    <summary type="html">David, this was exactly what I was looking for. I had no idea this API exists. CUMI precisely: http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Messaging_Interface_(CUMI)_API
I am taking my question on that API's forum.
http://developer.cisco.com/web/cuc/forums/-/message_boards/message/7344316?p_p_auth=p5otNpUK
 
EDIT: BTW - We have a well known number dedicated for voicemail, so I do check if HuntPilotDN is that number, it means caller was fwd'ed to voicemail.</summary>
    <dc:creator>Shivinder Singh</dc:creator>
    <dc:date>2012-10-04T16:33:21Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Shivinder Singh in Serviceability XML (SXML) - Call De</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7322549" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7322549</id>
    <updated>2012-10-03T22:10:12Z</updated>
    <published>2012-10-03T22:10:12Z</published>
    <summary type="html">If the voice mail system is Cisco Unity Connection, there is the CUMI
API, designed to allow applications to receive notifications of, browse,
and access voice mails:

http://developer.cisco.com/web/cuc/home

Note, the HuntPilotDN is not a 100% indication of voice mail, unless you
already know the hunt pilot for the VM system is part of the call flow. 
Hunt groups/pilots can be configured for other things (like phone pools)
as well, and the HuntPilotDN would have a value for those call flows. 

You might be able to try some forensic tricks, like checking to see if
the call eventually went to a VM-associated DN where messages are known
to be recorded, or comparing the length of the call with the length of
the voice mail greeting (longer calls suggest a message was left.) 
These are not going to be be fully reliable howerver, of course.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2012-10-03T22:10:12Z</dc:date>
  </entry>
  <entry>
    <title>VoiceMail-left indicator in CDR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7305222" />
    <author>
      <name>Shivinder Singh</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7305222</id>
    <updated>2012-10-03T13:35:14Z</updated>
    <published>2012-10-03T13:34:19Z</published>
    <summary type="html">I have a project to do a very basic CDR analysis and reporting - placed/received calls by number/call center. I have things moving so far with CDR flat files coming into SQL Server on a schedule, and getting reports using C#/SQL. 
So far I have noticed HuntPilotDN field tells me whether or not the call was fwd'ed to the phone's voice mail. But I need to go one step further - whether or not the caller LEFT a voicemail. Is the possible through CDR. And if not, what is the next best way?
version CUCM 8.0</summary>
    <dc:creator>Shivinder Singh</dc:creator>
    <dc:date>2012-10-03T13:34:19Z</dc:date>
  </entry>
</feed>

