« Back to Cisco JTAPI Questions

Getting dialed number

Combination View Flat View Tree View
Threads [ Previous | Next ]
Getting dialed number
event dialed number terminal name
Answer
8/17/11 4:58 PM
Hi there,
 
in order to build a custom list of dialed numbers (for number->name resolution) which event will give me the number that was dialed on a certain terminal (I need the dialed number and the name of the terminal from which it was dialed).
 
Thanks and greetings,
Oliver Henning

JTAPI does not store a list of dialed numbers for a given terminal anywhere. There is no way to directly query for this information.

You would have to write an application that was observing all of the terminals that you were interested in, and watch for events.

A useful event for this purpose would be CallCtlConnDialingEv, which has a method called .getDigits(). This will return the dialed digits for the Dialing event.

You could also write your event handler to check for a ConnCreatedEv that has a DN Different than the Terminal/DN you are observing.

JTAPI does not store a list of dialed numbers for a given terminal anywhere. There is no way to directly query for this information.

You would have to write an application that was observing all of the terminals that you were interested in, and watch for events.

A useful event for this purpose would be CallCtlConnDialingEv, which has a method called .getDigits(). This will return the dialed digits for the Dialing event.

You could also write your event handler to check for a ConnCreatedEv that has a DN Different than the Terminal/DN you are observing.


 
Thanks for your reply. CallCtlConnDialingEv does not work. It is not fired when the user uses Redial button and even when it fires, getDigits() returns NULL. How exactly does your proposal with ConnCreatedEv work?
 
Greetings,
Oliver Henning