Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

CTI Dynamic registration causes time out

Hello, can anyone please help me:

I am developing an IVR and using the AVTransmit2 class. the AVTransmit class requires a IP address and port number for which to transmit to (phone listening to ivr). I am registering my cti port using register(caps) and getting the IP via the code:

else if (evlist[i] instanceof CiscoRTPOutputStartedEv){

CiscoRTPOutputStartedEv e = (CiscoRTPOutputStartedEv)evlist[i];

CiscoRTPOutputProperties crop =e.getRTPOutputProperties();

port = crop.getRemotePort();

dynamicIP= crop.getRemoteAddress().getHostAddress();

// to convert address to string for AVTransmit2


This is returning the correct address and I am successfully tansmiting the IVR, the strange thing is that after about 10 seconds, the IVR cuts out and the engaged tone sounds. The phone and my code reports that there is still a connection but the engage tone is beeping. Does anyone know why? When I take the IP as a cmd line parameter and register the CTI port with RTP parms, it works fine. I need to dynamically access the IP from call manager though so is there another way to do this or a fix for this problem?

Thanks in advance.


Re: CTI Dynamic registration causes time out

Have you tried running jtrace or your own jtapi tracing code to see if you get any events after those 10 seconds, anything that would explain why things behave the way they do?

CreatePlease to create content