<?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>Determine Trunk and Channel information from a Cisco JTAPI Event</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8676481" />
  <subtitle>Determine Trunk and Channel information from a Cisco JTAPI Event</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8676481</id>
  <updated>2013-06-18T22:32:11Z</updated>
  <dc:date>2013-06-18T22:32:11Z</dc:date>
  <entry>
    <title>RE: Determine Trunk and Channel information from a Cisco JTAPI Event</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8696971" />
    <author>
      <name>Edward StLouis</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8696971</id>
    <updated>2012-11-20T14:55:12Z</updated>
    <published>2012-11-20T14:55:12Z</published>
    <summary type="html">I understand that Mohan. Thank you for your help.
 
My application doesn't just use JTAPI. I'm using AXL Webservices to read and write configuration on the UCM. I'm also monitoring Unity ports for activity to track calls inside that system.  I'm up for integrating with the 2800 too if it can provide channel information.  I just don't know if it's even possible to know which PRI channel a call is made through.</summary>
    <dc:creator>Edward StLouis</dc:creator>
    <dc:date>2012-11-20T14:55:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Determine Trunk and Channel information from a Cisco JTAPI Event</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8677429" />
    <author>
      <name>Mohan Potluri</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8677429</id>
    <updated>2012-11-19T21:02:08Z</updated>
    <published>2012-11-19T21:02:08Z</published>
    <summary type="html">Couple of reasons:
  JTAPI tries to be generic and the API is defined handle different type of underlying technologies. Some of the information you are looking for is specific to PRI and may not apply to other protocols like SIP etc.
  Within CUCM there are several layers of abstraction and the underlying protocol information is not available at JTAPI layer, hence it is not exposed to applications. </summary>
    <dc:creator>Mohan Potluri</dc:creator>
    <dc:date>2012-11-19T21:02:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: Determine Trunk and Channel information from a Cisco JTAPI Event</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8677129" />
    <author>
      <name>Edward StLouis</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8677129</id>
    <updated>2012-11-19T20:30:28Z</updated>
    <published>2012-11-19T20:27:48Z</published>
    <summary type="html">[quote=Mohan Potluri]For incoming calls ((CiscoAddress)CiscoCall.getCurrentCallingAddress()).getType() == CiscoAddress.EXTERNAL indicates that the caller is external. 
CiscoCall.getCurrentCallingTerminal() should give the name of the trunk. (It could be truncated if the size is greater than 15).
Channel or type of the trunk is not available.[/quote]
 
Thank you for the quick response! This is very valuable information since we are new to Cisco UCM (we've been using Avaya and Shortel).
Now for the follow-up question. ;)

If I get the calling terminal from my call (trunk name), it points me to my Cisco 2800 router's IP address.  The 2800 then has the T1/PRI line plugged into it.  I assume the reason I cannot get channel information from JTAPI is because the UCM doesn't handle the PRI/DID stuff.  Is it the Cisco 2800 that handles that part?  It would be useful to see which "channel" of the trunk the call is on.  Would I have to get that information from the Cisco 2800 as opposed to the Cisco UCM?
 
Thanks again!</summary>
    <dc:creator>Edward StLouis</dc:creator>
    <dc:date>2012-11-19T20:27:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Determine Trunk and Channel information from a Cisco JTAPI Event</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8676673" />
    <author>
      <name>Mohan Potluri</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8676673</id>
    <updated>2012-11-19T19:54:16Z</updated>
    <published>2012-11-19T19:54:16Z</published>
    <summary type="html">For incoming calls ((CiscoAddress)CiscoCall.getCurrentCallingAddress()).getType() == CiscoAddress.EXTERNAL indicates that the caller is external. 
CiscoCall.getCurrentCallingTerminal() should give the name of the trunk. (It could be truncated if the size is greater than 15).
Channel or type of the trunk is not available.</summary>
    <dc:creator>Mohan Potluri</dc:creator>
    <dc:date>2012-11-19T19:54:16Z</dc:date>
  </entry>
  <entry>
    <title>Automatic reply: New Message from Edward StLouis in Cisco JTAPI (JTAPI) - C</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8676502" />
    <author>
      <name>Andrew Yim</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8676502</id>
    <updated>2012-11-19T19:39:50Z</updated>
    <published>2012-11-19T19:39:50Z</published>
    <summary type="html">I am currently on PTO (11/19-11/23).

Thanks,
Andrew</summary>
    <dc:creator>Andrew Yim</dc:creator>
    <dc:date>2012-11-19T19:39:50Z</dc:date>
  </entry>
  <entry>
    <title>Automatic reply: New Message from Edward StLouis in Cisco JTAPI (JTAPI) - C</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8675387" />
    <author>
      <name>Andrew Yim</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8675387</id>
    <updated>2012-11-19T19:39:48Z</updated>
    <published>2012-11-19T19:39:48Z</published>
    <summary type="html">I am currently on PTO (11/19-11/23).

Thanks,
Andrew</summary>
    <dc:creator>Andrew Yim</dc:creator>
    <dc:date>2012-11-19T19:39:48Z</dc:date>
  </entry>
  <entry>
    <title>Determine Trunk and Channel information from a Cisco JTAPI Event</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8676480" />
    <author>
      <name>Edward StLouis</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8676480</id>
    <updated>2012-11-19T19:38:52Z</updated>
    <published>2012-11-19T19:37:52Z</published>
    <summary type="html">I have developed an application that observes addresses and terminals.  As I monitor the events coming from the addresses and terminals I can pull lots of useful information.  For example, I can get the CiscoCall object and see infomration about the calling and called parties.  
 
I would like to be able to determine which trunk and channel the call came in on (e.g. external inbound call). Is this possible?</summary>
    <dc:creator>Edward StLouis</dc:creator>
    <dc:date>2012-11-19T19:37:52Z</dc:date>
  </entry>
</feed>

