Cisco Unified Application Environment Developer Forums

« Back to Developers

JTapiGetActiveCalls

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
I am using CUAE 8.0 and CUCM 8.0. I am having issues with JTapiGetActiveCalls. I am monitoring a device. It is assigned to my CTI Monitor device pool.
 
Phone A calls Phone B. I can see the callid in the logs (I assume it is 1000025 for this example). However, when I run my script and try to use JTapiGetActiveCalls for that device I get the following error below.
 
I have the correct DeviceName and LineDN assigned in the parameters. I have the variable getcallid assigned as type string. Am I missing a step or function?
 
2010:08:10::12:42:51(07): Info: JTP Added JTapi call 1000025<->6F9lBcmVsn9s27NM
2010:08:10::12:42:51(07): Info: JTP Sending third-party CallInitiated for: 1000025
2010:08:10::12:42:51(07): Info: JTP Metreos.Providers.JTapi.JTapiCallInitiated event was not handled
2010:08:10::12:42:51(90): Info: JTP Sending third-party Non Triggering CallEstablished for: 1000025
2010:08:10::12:42:51(90): Info: JTP Sending third-party CallEstablished for: 1000025
2010:08:10::12:42:51(90): Info: JTP Metreos.Providers.JTapi.JTapiNonTriggeringCallEstablished event was not handled
2010:08:10::12:42:51(90): Info: JTP Metreos.Providers.JTapi.JTapiCallEstablished event was not handled
2010:08:10::12:42:53(46): Info: JTP Sending CallActive for call: 1000025callControlCause :NORMAL
2010:08:10::12:42:53(48): Info: JTP Metreos.Providers.JTapi.JTapiCallActive event was not handled
2010:08:10::12:43:07(59): Error: Join-2 Could not assign getcallid=System.String[]: Method 'Metreos.Types.String.Parse' not found.
2010:08:10::12:43:07(59): Error: Join-2 Could not assign getcallid=System.String[] in result of action '634170338121719689'

Thanks,
 
Tim

In designer, if you right-click on the output tab at the bottom and click "Go to Error Node", and paste in the number 634170338121719689.  This will take to the action with the problem (just so you know for sure).
 
JTapiGetActiveCalls returns an String array, so based on the stack trace, it looks like you are trying to assign the return value to something other than a String array type.
 
Larry M.
 
Hi,
 
I am using CUAE 8.0 and CUCM 8.0. I am having issues with JTapiGetActiveCalls. I am monitoring a device. It is assigned to my CTI Monitor device pool.
 
Phone A calls Phone B. I can see the callid in the logs (I assume it is 1000025 for this example). However, when I run my script and try to use JTapiGetActiveCalls for that device I get the following error below.
 
I have the correct DeviceName and LineDN assigned in the parameters. I have the variable getcallid assigned as type string. Am I missing a step or function?
 
2010:08:10::12:42:51(07): Info: JTP Added JTapi call 1000025<->6F9lBcmVsn9s27NM
2010:08:10::12:42:51(07): Info: JTP Sending third-party CallInitiated for: 1000025
2010:08:10::12:42:51(07): Info: JTP Metreos.Providers.JTapi.JTapiCallInitiated event was not handled
2010:08:10::12:42:51(90): Info: JTP Sending third-party Non Triggering CallEstablished for: 1000025
2010:08:10::12:42:51(90): Info: JTP Sending third-party CallEstablished for: 1000025
2010:08:10::12:42:51(90): Info: JTP Metreos.Providers.JTapi.JTapiNonTriggeringCallEstablished event was not handled
2010:08:10::12:42:51(90): Info: JTP Metreos.Providers.JTapi.JTapiCallEstablished event was not handled
2010:08:10::12:42:53(46): Info: JTP Sending CallActive for call: 1000025callControlCause :NORMAL
2010:08:10::12:42:53(48): Info: JTP Metreos.Providers.JTapi.JTapiCallActive event was not handled
2010:08:10::12:43:07(59): Error: Join-2 Could not assign getcallid=System.String[]: Method 'Metreos.Types.String.Parse' not found.
2010:08:10::12:43:07(59): Error: Join-2 Could not assign getcallid=System.String[] in result of action '634170338121719689'

Thanks,
 
Tim

RE: JTapiGetActiveCalls
Answer
8/12/10 11:13 PM as a reply to Larry Michalewicz.
Thanks Larry,
 
I had to assign my variable as StringCollection type and then it worked fine.
 
Thanks again,
 
Tim