get Calling number from redirected call

Milan Matys <[email protected]> Thu, 20 Jul 2006 03:45:59 -0600
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <LISTSERV%[email protected]>
Hi all,
I'm apologize for my english. I want to get number of incoming call, which
was redirected and I need number of caller not number of redirecter. I'm
listening by for incoming calls by observer added on all terminals in site.

            .....
            try {
                Terminal[] terms; // array of terminals
                terms = provider.getTerminals();
                for (int i = 0; i < terms.length; i++) {
                    if(terms[i].getCapabilities().isObservable()) {
                        terms[i].addCallObserver(thisInstance);
                        // FOR DEBUG
                        System.out.println("Terminal " + (i + 1) + ":" +
terms[i].getName());
                    }
                }
            } catch (Exception Blee) {
                .....

Can anybody help me?

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".