<?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>RE: ISPhoneLineList.getExtMapStatus() doesn't return List</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>RE: ISPhoneLineList.getExtMapStatus() doesn't return List</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-20T01:36:41Z</updated>
  <dc:date>2013-05-20T01:36:41Z</dc:date>
  <entry>
    <title>RE: CMEAddressActivatedEvent and CMEAddressDeactivatedEvent share Type valu</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5360134" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5360134</id>
    <updated>2012-03-27T18:51:52Z</updated>
    <published>2012-03-27T18:51:52Z</published>
    <summary type="html">Yes, it's a bug, Will raise a case.

Thanks</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-03-27T18:51:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: CDR duration of a call</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5061881" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5061881</id>
    <updated>2012-01-25T23:08:16Z</updated>
    <published>2012-01-25T23:08:16Z</published>
    <summary type="html">I think we should have same value in both line if not, I will get ft from answer (incoming leg) as it happens earlier and disconnect-time from originate (outgoing leg)</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-01-25T23:08:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: CDR duration of a call</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5061687" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5061687</id>
    <updated>2012-01-25T22:57:57Z</updated>
    <published>2012-01-25T22:57:57Z</published>
    <summary type="html">I do understand your frustration. I know it's hard to interpret CDR file. For a TWC I think there are 4 lines. You may see the same value of attribute in multiple lines. The logic should be in the file I attached but I don't quite remember. I do remember sometime we need to follow "fcid" to navigate around all lines. Sorry that couldn't help you further.</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-01-25T22:57:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: CDR duration of a call</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5061269" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5061269</id>
    <updated>2012-01-25T22:20:10Z</updated>
    <published>2012-01-25T22:20:10Z</published>
    <summary type="html">Like I said, it's been a while. I might have asked the same question before, why not "h323-disconnect-time  - h323-connect-time" ? But I don't remember what answer I got. All I can tell you is that I didn't make up "h323-disconnect-time  - ft" this value. I'm instructed by the Cisco team who developed CDR file. You may notice that we use a lot of attributes in feature VSA that might support that "ft" is a important time stamp

By the way I remembered to CDR "answer" means "incoming" "originate" means "outgoing"

Calling party -------------------&gt; GW ----------------------? Called party
                       answer                        originate</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-01-25T22:20:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: CDR duration of a call</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5060691" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5060691</id>
    <updated>2012-01-25T20:05:03Z</updated>
    <published>2012-01-25T20:05:03Z</published>
    <summary type="html">I have attached Java script you can take a look if you are interested. It's done long time ago might not perfect but every field of calculation was instructed by Cisco dev team.</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-01-25T20:05:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: CDR duration of a call</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5060617" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5060617</id>
    <updated>2012-01-25T19:25:31Z</updated>
    <published>2012-01-25T19:25:31Z</published>
    <summary type="html">I used Java script to to this before it's been a while I don't know the index of attribute is still the same but attribute should be the same.
Use "ft" from Table 8 Attributes in Feature VSA (page 22) and "h323-disconnect-time" (page 10)

var ft_time = 113;

var h323_disconnect_time_idx = 10;

//return the duration of call
function duration(str1,str2)
{

    var diff = (str2- str1)/1000;
	var min = diff / 60;
    var sec = diff % 60;
    var call_time = Math.floor(min)+' Min and '+sec+' Sec';

    return (call_time);
}



duration(data[ft_time],data[h323_disconnect_time_idx]);</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-01-25T19:25:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: CMECallConnectionFailedEvent</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4983786" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4983786</id>
    <updated>2012-01-09T21:37:51Z</updated>
    <published>2012-01-09T21:37:51Z</published>
    <summary type="html">An enhancement has been requested</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-01-09T21:37:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: CMECallConnectionFailedEvent</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4968933" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4968933</id>
    <updated>2012-01-07T00:01:51Z</updated>
    <published>2012-01-07T00:01:51Z</published>
    <summary type="html">Looking for ¿not handled event ####¿ and "Session: Unrecognized event:" for the FailedEvent.
If you can see both in debug then SDK enhancement is needed to get what you like.

Thanks !</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-01-07T00:01:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: CMECallConnectionFailedEvent</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4961215" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4961215</id>
    <updated>2012-01-05T19:17:58Z</updated>
    <published>2012-01-05T19:17:58Z</published>
    <summary type="html">Do you happen know what CSTA event the SDK received (CME sent to SDK) ?

Can you please attach debug from CME 

debug ccsip message
debug cti all

as well debug log from SDK

Thanks</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2012-01-05T19:17:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: ISPhoneLineList</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4883167" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4883167</id>
    <updated>2011-12-12T21:47:25Z</updated>
    <published>2011-12-12T21:47:25Z</published>
    <summary type="html">Hope the following sample helps

for (ExtMapStatus b: a.getISPhoneLineList().getExtMapStatus() ){
			        System.out.println(
			        "Ext ID: "+b.getExtId()+"  "+
			        "Ext Number: "+b.getExtNumber()+"  "+
			        "Ext Status: "+b.getExtStatus()+"  "+
			        "Ext ID: "+b.getLineId()+"  "+
					"Line State : "+b.getLineState());
			}</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-12-12T21:47:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: What are the meanings of the elements in ExtMapStatus</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4721099" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4721099</id>
    <updated>2011-11-07T21:46:48Z</updated>
    <published>2011-11-07T21:46:48Z</published>
    <summary type="html">My suggestion is to post your last questions on CUCM AXL forum

http://developer.cisco.com/web/axl/forums

Thanks</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-11-07T21:46:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: What are the meanings of the elements in ExtMapStatus</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4715623" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4715623</id>
    <updated>2011-11-04T23:48:07Z</updated>
    <published>2011-11-04T23:48:07Z</published>
    <summary type="html">This was inherited from Call Manager¿s AXL schema.
Basically it's telling the extensions directory number and status on a phone.
You can find the complete Call Manager AXL schema set here:
http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guides_list.html
Thanks,</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-11-04T23:48:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: TCL and EEM Scripting for CCME</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4324197" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4324197</id>
    <updated>2011-08-05T16:33:39Z</updated>
    <published>2011-08-05T16:33:39Z</published>
    <summary type="html">For EEM script please use the following forum

http://forums.cisco.com/eforum/servlet/EEM?page=main</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-08-05T16:33:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Any way to get list of all logout-profiles?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4248826" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4248826</id>
    <updated>2011-07-20T00:00:14Z</updated>
    <published>2011-07-20T00:00:14Z</published>
    <summary type="html">Just got the update :

ISgetLogoutProfile IS NOT in 1.0.2.</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-07-20T00:00:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Any way to get list of all logout-profiles?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4248643" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4248643</id>
    <updated>2011-07-19T22:22:26Z</updated>
    <published>2011-07-19T22:22:26Z</published>
    <summary type="html">ISgetLogoutProfile. might be added in 1.0.2 but I don't have Javadoc now so cannot confirm that.
But it's not in 1.0.1</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-07-19T22:22:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: ISPhoneLineList.getExtMapStatus() doesn't return List</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4232719" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4232719</id>
    <updated>2011-07-15T16:31:11Z</updated>
    <published>2011-07-15T16:31:11Z</published>
    <summary type="html">This is to confirm that I did see the same issue. Please use 1.0.1 for now

Thanks !</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-07-15T16:31:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: ISPhoneLineList.getExtMapStatus() doesn't return List</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4228659" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4228659</id>
    <updated>2011-07-15T00:19:32Z</updated>
    <published>2011-07-15T00:19:32Z</published>
    <summary type="html">So it's working for me. Please let me know the source of SDK file where you downloaded so I can use the same version to test

  code:


response = cme_http.getAllDevice();
		for (ISDevice a : response.getISDevices().getISDevice()){
			for (ExtMapStatus b: a.getISPhoneLineList().getExtMapStatus() ){
			     System.out.println(
			     "Ext ID =  "+b.getExtId()+"  "+
			     "Ext Number = "+b.getExtNumber()+"  "+
			     "Ext Status = "+b.getExtStatus()+"  "+
			     "Line ID = "+b.getLineId()+"  "+
				 "Line State = "+b.getLineState());
			}
			System.out.println("\nCDN test ++++++"+ a.getISPhoneLineList() +"+++++++");
		}

output:

CDN test ++++++com.cisco.cme.xml.xsd.ISPhoneLineList@79a93f38+++++++     &lt;---- first has two ext 1001 and 1002

CDN test ++++++com.cisco.cme.xml.xsd.ISPhoneLineList@5675b3ee+++++++
Ext ID =  1  Ext Number = 1001  Ext Status = true  Line ID = 1  Line State = idle
Ext ID =  2  Ext Number = 1002  Ext Status = true  Line ID = 2  Line State = idle

CDN test ++++++com.cisco.cme.xml.xsd.ISPhoneLineList@4977fa9a+++++++
Ext ID =  2  Ext Number = 1002  Ext Status = true  Line ID = 1  Line State = idle

CDN test ++++++com.cisco.cme.xml.xsd.ISPhoneLineList@63e5ba24+++++++
Ext ID =  3  Ext Number = 1003  Ext Status = true  Line ID = 1  Line State = idle</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-07-15T00:19:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: ISPhoneLineList.getExtMapStatus() doesn't return List</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4228570" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4228570</id>
    <updated>2011-07-14T22:35:47Z</updated>
    <published>2011-07-14T22:35:47Z</published>
    <summary type="html">Maybe try iterating through the list -- getISPhoneLineList() -- and do getExtMapStatus()</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-07-14T22:35:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: ISPhoneLineList.getExtMapStatus() doesn't return List</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4228479" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4228479</id>
    <updated>2011-07-14T21:36:15Z</updated>
    <published>2011-07-14T21:36:15Z</published>
    <summary type="html">I see, you mean single phone configured multiple ext numbers right ?</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-07-14T21:36:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: ISPhoneLineList.getExtMapStatus() doesn't return List</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4228408" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4228408</id>
    <updated>2011-07-14T21:00:17Z</updated>
    <published>2011-07-14T21:00:17Z</published>
    <summary type="html">Try something like this

for (ISDevice a : response.getISDevices().getISDevice()){	
			for (ExtMapStatus b: a.getISPhoneLineList().getExtMapStatus() ){
			        System.out.println(
			        "Ext ID: "+b.getExtId()+"  "+
			        "Ext Number: "+b.getExtNumber()+"  "+
			        "Ext Status: "+b.getExtStatus()+"  "+
			        "Ext ID: "+b.getLineId()+"  "+
				"Line State : "+b.getLineState());
			}
		}</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2011-07-14T21:00:17Z</dc:date>
  </entry>
</feed>

