CTI Route Point

Ana Soares <[email protected]> Tue, 16 Aug 2005 14:44:53 -0600
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <LISTSERV%[email protected]>
Hi

I am trying to implement something that work like a Call Center.
I want to receive multiple calls in the cti route point, and then an
operator gets one call to is phone.

to do this, I have register a CTI RoutePoint like:
 CallCenterProvider p = (CallCenterProvider)provider; // prov is a Provider
 CiscoRouteTerminal term = (CiscoRouteTerminal)p.getTerminal("2000");
CiscoMediaCapability caps[] = new CiscoMediaCapability[1];
caps[0] = new CiscoG711MediaCapability();
term.register(caps, CiscoRouteTerminal.NO_MEDIA_REGISTRATION); // term is a
CiscoRouteTerminal

RouteAddress a = p.getRouteableAddresses()[0];
a.addObserver(new AddrObs());
a.addCallObserver(new CallObs());
a.registerRouteCallback(new RouteCallBack());

p.addObserver(this);

term.addObserver(new TermObs());
term.addCallObserver(new CallObs());

But now when I call to the directory number 2000, I don't listen nothing.
And I dont now how I am going to pick up the call on another phone.
In the post of Stephan I have seen that the event CallCtlConnAlertingEv
appears to him. But to me it doesn't appear.
I don't now what I am doing rong??
can anybody help me?
Ana

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