cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
510
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Jason CHEN on 03-09-2010 04:05:36 AM
Hello,
 I have some question about monitor.  call.startmonitor() exception com.cisco.jtapi.PlatformExceptionImpl: Monitor request failed:com.cisco.cti.client.CCNException.
 
My application start the monitor in the follow way.
scenario:
  A--->B call1 (A call B , B answer)
  C(call2)---> A (C Silent Monitoring A)
device:
  A¿2009  "SEP001DA290D285"    7941
  B¿2008  "SEP00248CB3B506"    IP Communicator 7.0.2.0
  C¿1005  "SEP001BD4A03F92"    7970
  three phones the "Built In Bridge" state "on" and all in the control list.
  CallManager6.0  App User add the Standard CTI Allow Call Monitor user groups.
implement:
  1.call1.connect(provider.getTerminal("SEP001DA290D285"), provider.getAddress("2009"), "2008");
  2.B answer A . terminalChangedEvent catch CiscoRTPInputStartedEv , C startMonitor
  3. monitor
   call2 = (CiscoCall)provider.createCall();
   call2.startMonitor(provider.getTerminal("SEP001BD4A03F92"),// monitor phone
                            provider.getAddress("1005"),//monitor DN
                            termialconnection,//monitor target TerminalConnection
                            CiscoCall.SILENT_MONITOR,
                            CiscoCall.PLAYTONE_BOTHLOCALANDREMOTE);
Exception :
com.cisco.jtapi.PlatformExceptionImpl: Monitor request failed:com.cisco.cti.client.CCNException
        at com.cisco.jtapi.CallImpl.startMonitor(CTQF)
        at com.cisco.jtapi.CallImpl.startMonitor(CTQF)
        at testSilentMonitor.MainSilent.startMySilent(MainSilent.java:170)
        at testSilentMonitor.MainSilent.terminalChangedEvent(MainSilent.java:125)
        at com.cisco.jtapi.ObserverProxy.Z(CTQF)
        at com.cisco.jtapi.ObserverThread.messageReceived(CTQF)
        at com.cisco.cti.util.MessageThread.append(CTQF)
        at com.cisco.cti.util.MessageThread.CTQF(CTQF)
        at com.cisco.cti.util.MessageThread.run(CTQF)
JTAPI log:
939: ¿¿ 02 16:32:37.094 CST %JTAPI-JTAPI-7-UNKP1-scadmin)[ObserverThread(testSilentMonitor.MainSilent@1cf662f)][(P1-scadmin) GCID=(1,161605)->IDLE]Request: startMonitor ([SEP001DA290D285/[2009:/(P1-scadmin) GCID=(1,161604)->ACTIVE]->ESTABLISHED]->TALKING)
940: ¿¿ 02 16:32:37.094 CST %JTAPI-JTAPI-7-UNKP1-scadmin)[ObserverThread(testSilentMonitor.MainSilent@1cf662f)][(P1-scadmin) GCID=(1,161605)->IDLE]Request: startMonitor (SEP001BD4A03F92, 1005 , 20477113, 2009, SEP001DA290D285, 1 2
 
Where is the error?  
    Thanks!
 
 

Subject: RE: Monitor request failed:com.cisco.cti.client.CCNException
Replied by: Mohan Potluri on 03-09-2010 06:40:10 AM
 
Most likely this is due to 'iP Communicator' used for B. Swap B and C.  Use 7970 phone as B and initiate startmonitor from 'IP Communicator'.
Let us know if you still see the exception after the swap.
 
More information can be found by catching the exception
 
<pre>catch ( Exception e ) {
   if( e instanceof PlatformException){
     CiscoJtapiException ce = (CiscoJtapiException) e
     int errorCode = ce.getErrorCode()   //returns the ErrorCode, This is one of the error codes defined in CiscoJtapiException
     String ste = ce.getErrorDescription()
  }
}
</pre>
 

Subject: RE: Monitor request failed:com.cisco.cti.client.CCNException
Replied by: Jason CHEN on 03-09-2010 07:13:03 AM
 
Most likely this is due to 'iP Communicator' used for B. Swap B and C.  Use 7970 phone as B and initiate startmonitor from 'IP Communicator'.
Let us know if you still see the exception after the swap.
 
More information can be found by catching the exception
 
<pre>catch ( Exception e ) {
if( e instanceof PlatformException){
CiscoJtapiException ce = (CiscoJtapiException) e
int errorCode = ce.getErrorCode() //returns the ErrorCode, This is one of the error codes defined in CiscoJtapiException
String ste = ce.getErrorDescription()
  }
}
</pre>
 


Thanks reply my question. B and C exchange position.
Get the errorCode:-1932787536;errorDescription:Resource Not Available.
Is the phone config error?

Subject: RE: Monitor request failed:com.cisco.cti.client.CCNException
Replied by: Mohan Potluri on 08-09-2010 04:18:57 PM
This is likely caused by capabilities mis-match between B and C.  Check if both B and C are configured with the same codecs.
BTW did you see CallCtlEstablished event for B on the monitor call?

Subject: RE: Monitor request failed:com.cisco.cti.client.CCNException
Replied by: Jason CHEN on 09-09-2010 01:46:47 AM
This is likely caused by capabilities mis-match between B and C.  Check if both B and C are configured with the same codecs.
BTW did you see CallCtlEstablished event for B on the monitor call?



 
Thanks ,
 
Silent Monitoring  is ok!  I change the "2009" Phone Configuration:
Built In Bridge: ON
Privacy: OFF
Packet Capture Mode:Batch Processing Mode
PC Port: Enabled
PC Voice VLAN Access:Enabled
Span to PC Port:Enabled
 
the work fine; But i don't know which config must be in above!
 
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links