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
Tweet
Check out the new content on the Cisco Developer Network reflecting the New & Enhanced features in Cisco Unified Communication Manager 9.1.
See the new
9.1 JTAPI Documentation
...Read More
Unified Communications 9.0 Partner Bundle Offer Now Available to Order
Amanda Whaley
| 21 Sep 2012
Tweet
The Unified Communications 9.0 Partner Bundle packages Cisco’s Collaboration application software for our Collaboration partner community to leverage for their internal lab or demonstration systems. The 9.0 version is now available for order.
Learn More >>
...Read More
Developer Partner 2012 US Update Presentations Available
George Gary
| 29 Jun 2012
Tweet
Developer Partners,
Cisco announces the availability of our 2012 Developer Partner presentations shared at CiscoLive San Diego.
Please log into the Cisco Developer Network using your Partner UserID to download this content.
Access these presentations here:
http://developer.cisco.com/web/cdc/devforumpreso
PARTNER LOGIN REQUIRED
...Read More
Developer Partner 2012 London Update Presentations Available
George Gary
| 10 Feb 2012
Tweet
Developer Partners,
Cisco announces the availability of our 2012 Developer Partner presentations shared at CiscoLive London.
Please log into the Cisco Developer Network using your Partner UserID to download this content.
Access these presentations here:
http://developer.cisco.com/web/cdc/devforumpreso
PARTNER LOGIN REQUIRED
...Read More
Unified Communication 8.6 NFR Bundle Now Orderable
George Gary
| 22 Aug 2011
Tweet
Cisco Technology Developer Partners,
Cisco is proud to announce the availability of our Cisco Unified Communications System Release 8.6 Not-For-Resale software bundle on Cisco Marketplace (Partner Login Required).
To purchase the latest Unified Communications NFR Software bundle
- Navigate to
Cisco Marketplace
- Login using your Cisco.com UserID
...Read More
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
RE: how to get caller phone number with the JTAPI?
Threads [
Previous
|
Next
]
yang tw
Posts:
2
Join Date:
7/30/12
Recent Posts
how to get caller phone number with the JTAPI?
Answer
7/30/12 9:30 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I am a freshman for JTAPI, I test with the JTAPI sample. for the makecall method, we need to pass some parameters to it. such as
makecall <server> <login> <password> <delay> <origin> <destination>. we can hardcode the origin number and destination number to test now.
but I have a quesion, can I get the origin number( this also is the caller number) with the JTAPI? If no, how can I get this number with other way?
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
RE: how to get caller phone number with the JTAPI?
Answer
7/30/12 7:17 PM as a reply to yang tw.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Yang,
You can use CiscoCall API's like getCallingAddress(), getCurrentCallingAddress(), getModifiedCallingAddress(), etc, to retrieve the caller address in a call. For more info, please refer to the latest JTAPI Developer Guide posted on http://developer.cisco.com/web/jtapi/docs.
Thanks,
Andrew
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
yang tw
Posts:
2
Join Date:
7/30/12
Recent Posts
RE: how to get caller phone number with the JTAPI?
Answer
7/31/12 5:17 AM as a reply to Andrew Yim.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Yang,
You can use CiscoCall API's like getCallingAddress(), getCurrentCallingAddress(), getModifiedCallingAddress(), etc, to retrieve the caller address in a call. For more info, please refer to the latest JTAPI Developer Guide posted on http://developer.cisco.com/web/jtapi/docs.
Thanks,
Andrew
Thanks your suggestion, but I think for getCallingAddress(), getCurrentCallingAddress(), getModifiedCallingAddress() can be used to get the caller infomation after make a call. my quesion is when I begin to make a call ,how to know this number. below coding is copy from sample coding-makecall.java
if (src == null) {
src = args;
} else {
dest = args;
Originator originator = new Originator(this.provider.getAddress(src), dest, (Trace) this, actionDelayMillis);
you can see the src is the original number, and it is passed from outside. My PC has installed the Cisco IP communatior software. There is a bingding phone number for me. How can I get this numer with the JTAPI ?
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
RE: how to get caller phone number with the JTAPI?
Answer
8/29/12 11:39 PM as a reply to yang tw.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
When JTAPI is used to open provider, application would know all the controllable addresses and terminals for that user. For example, you can fetch those addresses from CiscoProvider.getAddresses() and decide which address to be used as the calling party. Or you can fetch the terminals from provider and get the address of the one that you're interested in.
Regards,
Andrew
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Collateral
No files available