Cisco Unified Application Environment Developer Forums

« Back to Developers

AnswerAndPlay with Java issue

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi All,
 
I am trying the Java AnswerAndPlay example. The call comes to CUAE and disconnects with fast busy.
 
I am attaching the AppServer and Jtapi Service logs. Please let me know if you need more information to help me troubleshoot.
 
All the help is appretiated as always.
 
Thanks and regards,
 
Am
Attachments:

Hi Amlendu,
 
The AnswerAndPlay application works in the following manner:
 
1. A call is placed from an IP phone to the soft-phone/virtual phone associated with the application server. This will trigger the application.
2. The application handles the incoming call and plays a prompt/.wav file to the call established.
 
In the logs, the call is being placed from a device (DN: 1000) to 6105. Is this(DN:6105) a sip soft-phone/virtual phone associated with the application server? If it is a virtual phone associated with the application-server then check that it is enabled running.
 
And the log message,
 
"2009:04:15::11:23:09(19): Info: TM  No handler registered for incoming call 1000008. Terminating."
 
suggests that the application is triggered but there is no handler registered for the IncomingCall event. In this case there are two scenarios:
 
1. Is the "public void incomingCall(String sessionId, IncomingCallOptions options)" method properly written in the "ImplAnswerAndPlayClient.java" file?
2. Is the application properly packaged, installed and registered with the application server?
 
Look into the afore mentioned areas and see if the issue gets resolved.
 
Regards,
Rakesh.

Hi Rakesh,
 
Thanks for the reply. I did not have a phone associated witht he CUAE (hope you will excuse me). I am unable to find information on how to do so. Can you please point me in the right direction here?
 
Thanks and regards,
 
Am

Am/Rakesh,
 
Nice explanation. I want to clarify one thing to help Am debug his problem.
 
In answer and play, the call is made from a phone to the CAUE (media engine for media). Hence we do not need a phone associated with AS. It could be just a route pattern defined in CUCM with a SIP trunk to the CUAE. (which i think is Am's case).
 
Thanks,
Rajesh
 
Hi Amlendu,
 
The AnswerAndPlay application works in the following manner:
 
1. A call is placed from an IP phone to the soft-phone/virtual phone associated with the application server. This will trigger the application.
2. The application handles the incoming call and plays a prompt/.wav file to the call established.
 
In the logs, the call is being placed from a device (DN: 1000) to 6105. Is this(DN:6105) a sip soft-phone/virtual phone associated with the application server? If it is a virtual phone associated with the application-server then check that it is enabled running.
 
And the log message,
 
"2009:04:15::11:23:09(19): Info: TM  No handler registered for incoming call 1000008. Terminating."
 
suggests that the application is triggered but there is no handler registered for the IncomingCall event. In this case there are two scenarios:
 
1. Is the "public void incomingCall(String sessionId, IncomingCallOptions options)" method properly written in the "ImplAnswerAndPlayClient.java" file?
2. Is the application properly packaged, installed and registered with the application server?
 
Look into the afore mentioned areas and see if the issue gets resolved.
 
Regards,
Rakesh.

Am,
 
  Not having the phone is probably not the problem in your case, it is more based on Rakesh's second part of his explanation. There is no application registered to handle the incoming call.
 
Go to the applicatios page and verify that the application is listed there, is enabled and is running.
 
Thanks,
Rajesh