Re: get Calling number from redirected call

Jörg Wiesmann <[email protected]> Fri, 21 Jul 2006 02:47:19 -0600
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <LISTSERV%[email protected]>
upps .. forgot something .. it has to be:
TerminalConnection[] tc = ((CallCtlConnEstablishedEv)
events[i]).getCallingTerminal().getTerminalConnections();
for (int a=0;a<tc.length;a++) {
      CallControlCall ccCall = (CallControlCall)tc[a].getConnection().getCall();
      if (ccCall.getState() == CallControlCall.ACTIVE) {
       ccCall.getCalledAddress();
       ccCall.getCallingAddress();
      }
     }

:)

===========================================================================
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".