Cojanu Cristian | Hello, I have a problem regarding csta notifications that I receive from UCSXI API when the a call is received by a monitored phone (Cisco IP Comunicator) from outside (external call), throuth an ISDN T1/E1 connection. The only notification that I receive is when the phone is ringing (below) and after nothing: EVCall=[-Call-, GCID=null, state=ACTIVE, CallConns=(Conn[0]=[-Connection-, address=021344xxxx, type=CALLING, state=MOUNTED)], Conn[1]=[-Connection-, address=303, type=CALLED, state=RINGING)])] EVConn=[-Connection-, address=303, type=CALLED, state=RINGING)]
This happends only to external calls, when an internal call is made (for example from 300 to 303) to the monitored phone, i receive all CSTA notifications through method onNotification(CMEEvent notification) INITIATED EVENT, RINGING EVENT, CONNECTED AND DISCONNECTED EVENTS. Can you tell me if its normal or I have made a mistake in my application?
This is the CSTA Listner class that implements CMECSTAListner: public class CSTAListner implements CMECSTAListener{ @Override public void onNotification(CMEEvent notification) { java.util.Date d = new java.util.Date(notification.getTime()); System.out.println(d); System.out.println(notification); }
This is how I "register" the phone in the application: CMEAbstractTerminal tel303 = cmeProvider.createTerminal("D4AABBCCDD",CMEAbstractTerminal.Type.PHONE , "tel588"); CMEAbstractAddress dn303= cmeProvider.createAddress("303", CMEAbstractAddress.Type.USER); CSTAListner listen303 = new CSTAListner(); ((CMEPhone)tel303).addAddress(dn303, listen303); Thank you. |