<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: JTAPI Silent Monitoring</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12269273" />
  <subtitle>RE: JTAPI Silent Monitoring</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12269273</id>
  <updated>2013-06-18T22:26:09Z</updated>
  <dc:date>2013-06-18T22:26:09Z</dc:date>
  <entry>
    <title>Re: New Message from David Staudt in JTAPI (JTAPI) - Cisco JTAPI Questions:</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16220904" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16220904</id>
    <updated>2013-06-14T22:32:19Z</updated>
    <published>2013-06-14T22:32:19Z</published>
    <summary type="html">Yes, it is as basic as you describe.  I will get a new pcap next week.


----- Reply message -----
From: "Cisco Developer Community Forums" &lt;cdicuser@developer.cisco.com&gt;
To: "cdicuser@developer.cisco.com" &lt;cdicuser@developer.cisco.com&gt;
Subject: New Message from David Staudt in JTAPI (JTAPI) - Cisco JTAPI Questions: RE: Re: New Message from David Staudt in JTAPI (JTAPI) - Cisco JTAPI Questi
Date: Fri, Jun 14, 2013 5:09 PM



David Staudt has created a new message in the forum "Cisco JTAPI Questions": -------------------------------------------------------------- Sorry, I overlooked that this is a silent-monitoring (vs. recording) scenario.  Not aware of any reason why a 7942 would have a horsepower issue with BiB monitoring...

If you are an environment like below:

- Both devices in same network segment
- Both devices on latest firmware version (from Cisco.com)
- Both devices are single-homed (one network connection)
- Simple routing/switching environment - no NAT, firewalls, ACLs, SBC, etc.

then it will be difficult to contemplate any other possibility than a phone firmware problem.  Successfully monitoring with another model would be informative.
If everything above checks out, please obtain a packet capture from both devices and we'll investigate as a phone defect.
--
To respond to this post, please click the following link: http://developer.cisco.com/web/jtapi/community/-/message_boards/view_message/16219773 or simply reply to this email.

IMPORTANT: The information contained in this transmission is intended only for the personal and confidential use of the designated recipient(s) named above. This transmission is privileged and confidential and may be subject to certain Nondisclosure Agreements. If you are not the intended recipient(s) or an agent responsible for delivering this email and any attachments to the intended recipient(s), you are hereby notified that you have received this document in error. Any review, dissemination, distribution or copying of this message is strictly prohibited.</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-06-14T22:32:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from David Staudt in JTAPI (JTAPI) - Cisco JTAPI Questi</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16219773" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16219773</id>
    <updated>2013-06-14T22:06:39Z</updated>
    <published>2013-06-14T22:06:39Z</published>
    <summary type="html">Sorry, I overlooked that this is a silent-monitoring (vs. recording) scenario.  Not aware of any reason why a 7942 would have a horsepower issue with BiB monitoring...

If you are an environment like below:

- Both devices in same network segment
- Both devices on latest firmware version (from Cisco.com)
- Both devices are single-homed (one network connection)
- Simple routing/switching environment - no NAT, firewalls, ACLs, SBC, etc.

then it will be difficult to contemplate any other possibility than a phone firmware problem.  Successfully monitoring with another model would be informative.  
If everything above checks out, please obtain a packet capture from both devices and we'll investigate as a phone defect. </summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-06-14T22:06:39Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from David Staudt in JTAPI (JTAPI) - Cisco JTAPI Questions:</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16216464" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16216464</id>
    <updated>2013-06-14T19:38:19Z</updated>
    <published>2013-06-14T19:38:19Z</published>
    <summary type="html">This is between two phones, so I'm not sure how the application would have anything to do with it.


----- Reply message -----
From: "Cisco Developer Community Forums" &lt;cdicuser@developer.cisco.com&gt;
To: "cdicuser@developer.cisco.com" &lt;cdicuser@developer.cisco.com&gt;
Subject: New Message from David Staudt in JTAPI (JTAPI) - Cisco JTAPI Questions: RE: JTAPI Silent Monitoring
Date: Fri, Jun 14, 2013 12:15 PM



David Staudt has created a new message in the forum "Cisco JTAPI Questions": -------------------------------------------------------------- In the previous mentioned investigation we found the problem on the application side - I believe listening ports on the app were incorrect, and ICMP unreachable errors were present.  My suggestion would be to obtain a network packet capture from the phone itself (enable switch port and span to PC port options), check for ICMP errors, and check the SIP signaling to verify the forked destination IP/port are as expected.
If you can't spot an issue I may be able to examine the pcap if attached here, but to go into much more depth I will need to recommend the CDN/DS support program.
--
To respond to this post, please click the following link: http://developer.cisco.com/web/jtapi/community/-/message_boards/view_message/16212359 or simply reply to this email.

IMPORTANT: The information contained in this transmission is intended only for the personal and confidential use of the designated recipient(s) named above. This transmission is privileged and confidential and may be subject to certain Nondisclosure Agreements. If you are not the intended recipient(s) or an agent responsible for delivering this email and any attachments to the intended recipient(s), you are hereby notified that you have received this document in error. Any review, dissemination, distribution or copying of this message is strictly prohibited.</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-06-14T19:38:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16212359" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16212359</id>
    <updated>2013-06-14T17:13:41Z</updated>
    <published>2013-06-14T17:13:41Z</published>
    <summary type="html">In the previous mentioned investigation we found the problem on the application side - I believe listening ports on the app were incorrect, and ICMP unreachable errors were present.  My suggestion would be to obtain a network packet capture from the phone itself (enable switch port and span to PC port options), check for ICMP errors, and check the SIP signaling to verify the forked destination IP/port are as expected.
If you can't spot an issue I may be able to examine the pcap if attached here, but to go into much more depth I will need to recommend the CDN/DS support program.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-06-14T17:13:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16203507" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16203507</id>
    <updated>2013-06-14T13:59:32Z</updated>
    <published>2013-06-14T13:59:32Z</published>
    <summary type="html">Do you know if any progress has been made on this?  We do not have a CDN Developer support contract.</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-06-14T13:59:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14013100" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14013100</id>
    <updated>2013-04-08T21:11:33Z</updated>
    <published>2013-04-08T21:11:33Z</published>
    <summary type="html">If you have a CDN Developer Support contract, go ahead and open a case (regular TAC will not be able to assist as this is an API-related issue.)

We are already investigating an identical issue, so may have more information (for example a defect ID) shortly.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-04-08T21:11:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14000598" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14000598</id>
    <updated>2013-04-08T17:13:14Z</updated>
    <published>2013-04-08T17:13:14Z</published>
    <summary type="html">Should I open a TAC case regarding these issues?  It does not appear to be related to anything I am or am not doing in the code.</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-04-08T17:13:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13871851" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13871851</id>
    <updated>2013-04-04T16:08:17Z</updated>
    <published>2013-04-04T16:08:17Z</published>
    <summary type="html">Yes, it seems as bad if not worse.  It almost seems like there is not enough processing power on the supervised phone to be able to send the forked audio stream or something.</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-04-04T16:08:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13836068" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13836068</id>
    <updated>2013-04-03T21:14:06Z</updated>
    <published>2013-04-03T21:14:06Z</published>
    <summary type="html">Very interesting...it looks like there is a newer firmware version available: [color=#333333]cmterm-7942_7962-sccp.9-3-1SR2-1.cop.sgn[/color]
[color=#333333] [/color]
[color=#333333]Can you reproduce using this latest load?
[/color]</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-04-03T21:14:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13834530" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13834530</id>
    <updated>2013-04-03T20:15:46Z</updated>
    <published>2013-04-03T20:15:46Z</published>
    <summary type="html">Yes, it appears this is the case.  I've attached a screen cap of the packet data from wireshark.  This is between a 7962G (monitor src) and 7965G (monitor dest). Phone loads as follows: SCCP42.9-2-1S SCCP45.9-2-1S</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-04-03T20:15:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13786829" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13786829</id>
    <updated>2013-04-02T21:04:21Z</updated>
    <published>2013-04-02T21:04:21Z</published>
    <summary type="html">We are currently investigating an issue where certain phone/firmware combinations may be incorrectly marking the 'sequence' field in RTP packets being forked to recording services, i.e. the sequence numbers are all odd or all even - skipping sequence numbers.  This results in poor audio quality at the recorder.

If you can obtain a network packet capture of the RTP stream towards your monitoring device, you should be able to see if this is the case for you.  Feel free to attach pcap here.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-04-02T21:04:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13777378" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13777378</id>
    <updated>2013-04-02T18:25:12Z</updated>
    <published>2013-04-02T18:25:12Z</published>
    <summary type="html">Ok, I have this working now, but the quality is really poor on the supervising terminal.  Is this normal?  The sound quality when calling between the two terminals is 100% fine, just the observed audio stream seems to have issues with quality.</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-04-02T18:25:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12484218" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12484218</id>
    <updated>2013-02-28T17:18:27Z</updated>
    <published>2013-02-28T17:18:27Z</published>
    <summary type="html">When adding an Observer (provider/terminal/address) generally the app will need to wait for the corresponding 'InService' event, which indicates that the object is operational and ready to accept commands.  If the app adds an address observer and immediately attempts a command (like start monitor), then this creates a race condition where the command could be attempted before the address is operational.

Not sure that's what you are seeing, but it's a step that is sometimes overlooked.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-02-28T17:18:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12465408" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12465408</id>
    <updated>2013-02-28T08:29:32Z</updated>
    <published>2013-02-28T08:29:32Z</published>
    <summary type="html">Hi,
 
Sorry not sure why it isnt working now. Reminder on the checks:
1. Correct phone models
2. Agent is established on a call
3. Supervisor phone idle
4.create new call from provider object
 
Not in a position at the moment to test my code but it has worked. If I get time I will fire it up.</summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-28T08:29:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12442416" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12442416</id>
    <updated>2013-02-27T17:18:56Z</updated>
    <published>2013-02-27T17:18:56Z</published>
    <summary type="html">Closer, but I'm seeing the following now:
 
2163: Feb 27 11:11:39.809 CST %JTAPI-JTAPI-7-UNK:(P1-rmcmuser)[main][(P1-rmcmuser) GCID=(1,2262750)-&gt;IDLE]Request: startMonitor ([SEPC40ACB4C8FFD/[89201199:Cluster DN Presence Allowed:1/(P1-rmcmuser) GCID=(2,3317132)-&gt;ACTIVE]-&gt;ESTABLISHED]-&gt;TALKING)
2164: Feb 27 11:11:39.809 CST %JTAPI-JTAPI-7-UNK:(P1-rmcmuser)[main][(P1-rmcmuser) GCID=(1,2262750)-&gt;IDLE]Request: startMonitor (SEPE80462EA148A, 4235 , 41752281, 89201199, SEPC40ACB4C8FFD, 1 2
2165: Feb 27 11:11:39.810 CST %JTAPI-JTAPI-7-UNK:[4235]InvalidStateExceptionImpl caught: Address is out of service</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-02-27T17:18:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12440682" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12440682</id>
    <updated>2013-02-27T16:56:59Z</updated>
    <published>2013-02-27T16:56:59Z</published>
    <summary type="html">I haven't tested this for a while but the call object that I call start monitor is not an already active call.
 
Eg:
 
CiscoCall monitorCall = provider.createCall();
monitorCall.startMonitor( superviserTerm, supervisorAddress,
activeCall_termCon,CiscoCall.SILENT_MONITOR,CiscoCall.PLAYTONE_LOCALONLY);
 
Where activeCall_termCon is the terminal connection for the agent on the active call.</summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-27T16:56:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12440566" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12440566</id>
    <updated>2013-02-27T16:51:02Z</updated>
    <published>2013-02-27T16:51:02Z</published>
    <summary type="html">Here is the code I am trying to get working:
srcAddr = provider.getAddress("1111"); // Agent DN to be monitored
srcAddr.addCallObserver(new CallObserver() { public void callChangedEvent(CallEv[]eventList) { } });
CiscoCall aCall = ((CiscoCall) provider.getCalls()[0];
try {
 aCall.startMonitor(provider.getTerminal("SEPBADBADBADB",   // Supervisor Phone MAC
   provider.getAddress("1234"),       // Supervisor DN
   aCall.getCurrentCallingTerminal().getTerminalConnections()[0],       // Agent call to be monitored
   CiscoCall.SILENT_MONITOR,
   CiscoCall.PLAYTONE_BOTHLOCALANDREMOTE);
} catch (Exception e) {
 e.printStackTrace();
}
 
I am seeing the following exception:
 
com.cisco.jtapi.InvalidStateExceptionImpl: Did not meet pre-conditions -- call must be IDLE.
Supervisor Agent DN is IDLE, no calls in progress and Agent DN has an ACTIVE call.
Is my calling sequence on startMonitor() backwards?</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-02-27T16:51:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12397538" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12397538</id>
    <updated>2013-02-26T17:15:40Z</updated>
    <published>2013-02-26T17:15:40Z</published>
    <summary type="html">I forgot to mention you also pass the terminal connection for the call you are monitoring. So a target call needs to be in progress - and I think the connection must be in the established state.
 
 </summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-26T17:15:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12399150" />
    <author>
      <name>PETER MISUREK</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12399150</id>
    <updated>2013-02-26T17:07:37Z</updated>
    <published>2013-02-26T17:07:37Z</published>
    <summary type="html">Does the monitoring destination phone ring then, or does it need to be offhook before the startMonitor call?  I'm getting a device Out Of Service with the code I am playing around with.</summary>
    <dc:creator>PETER MISUREK</dc:creator>
    <dc:date>2013-02-26T17:07:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: JTAPI Silent Monitoring</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12396792" />
    <author>
      <name>Stewart Ponsford</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12396792</id>
    <updated>2013-02-26T16:37:34Z</updated>
    <published>2013-02-26T16:35:13Z</published>
    <summary type="html">You create a new CiscoCall object from the provider and call startMonitor, passing in the address and terminal objects for the initiator plus some flags.  
 
You need to check the settings on the Phone record in CUCM for a couple of things on both the supervisor (Must be in the monitoring calling search space) and the user to be monitored (built-in bridge).   Also not all phone models support it. Not supported on 7910,7912,7931,7940 &amp; 7960.</summary>
    <dc:creator>Stewart Ponsford</dc:creator>
    <dc:date>2013-02-26T16:35:13Z</dc:date>
  </entry>
</feed>

