Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
JTAPI (JTAPI) Developer Center
Overview
Documentation
Community
Wiki
Testing
Everything
This Site
Blogs
9.1 JTAPI Documentation Now Available
Prem Bejjam
09 Jan 2013
Unified Communications 9.0 Partner Bundle Offer Now Available to Order
Amanda Whaley
21 Sep 2012
Developer Partner 2012 US Update Presentations Available
George Gary
29 Jun 2012
Developer Partner 2012 London Update Presentations Available
George Gary
10 Feb 2012
Unified Communication 8.6 NFR Bundle Now Orderable
George Gary
22 Aug 2011
Showing 1 - 5 of 30 results.
Items per Page 5
Page
(Changing the value of this field will reload the page.)
1
2
3
4
5
6
of 6
First
Previous
Next
Last
Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Cisco JTAPI Questions
Determine Trunk and Channel information from a Cisco JTAPI Event
Threads [
Previous
|
Next
]
Edward StLouis
Posts:
4
Join Date:
7/26/12
Recent Posts
Determine Trunk and Channel information from a Cisco JTAPI Event
Answer
11/19/12 7:38 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Andrew Yim
Posts:
5
Join Date:
9/17/10
Recent Posts
Automatic reply: New Message from Edward StLouis in Cisco JTAPI (JTAPI) - C
Answer
11/19/12 7:39 PM as a reply to Edward StLouis.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I am currently on PTO (11/19-11/23).
Thanks,
Andrew
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Andrew Yim
Posts:
5
Join Date:
9/17/10
Recent Posts
Automatic reply: New Message from Edward StLouis in Cisco JTAPI (JTAPI) - C
Answer
11/19/12 7:39 PM as a reply to Edward StLouis.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I am currently on PTO (11/19-11/23).
Thanks,
Andrew
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Mohan Potluri
Posts:
155
Join Date:
7/26/08
Recent Posts
RE: Determine Trunk and Channel information from a Cisco JTAPI Event
Answer
11/19/12 7:54 PM as a reply to Edward StLouis.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Edward StLouis
Posts:
4
Join Date:
7/26/12
Recent Posts
RE: Determine Trunk and Channel information from a Cisco JTAPI Event
Answer
11/19/12 8:30 PM as a reply to Mohan Potluri.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
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!
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Mohan Potluri
Posts:
155
Join Date:
7/26/08
Recent Posts
RE: Determine Trunk and Channel information from a Cisco JTAPI Event
Answer
11/19/12 9:02 PM as a reply to Edward StLouis.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Edward StLouis
Posts:
4
Join Date:
7/26/12
Recent Posts
RE: Determine Trunk and Channel information from a Cisco JTAPI Event
Answer
11/20/12 2:55 PM as a reply to Mohan Potluri.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Collateral
No files available