<?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: A problem with CTIOS Toolkit</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>RE: A problem with CTIOS Toolkit</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-25T21:55:58Z</updated>
  <dc:date>2013-05-25T21:55:58Z</dc:date>
  <entry>
    <title>RE: Error: failure code:14  Number of supported monitor mode connections [2</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13072127" />
    <author>
      <name>AARNE KYLAKALLIO</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13072127</id>
    <updated>2013-03-15T10:47:24Z</updated>
    <published>2013-03-15T10:47:24Z</published>
    <summary type="html">Hi,
I think there is nothing you can do on the client side for this.
I can't remember if it requires a reboot, I did this so long time ago.
In some cases we have installed a third CTIOS and used that only for monitoring. This is not supported by Cisco but has worked for us and separates monitoring from agent traffic.</summary>
    <dc:creator>AARNE KYLAKALLIO</dc:creator>
    <dc:date>2013-03-15T10:47:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error: failure code:14  Number of supported monitor mode connections [2</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13069798" />
    <author>
      <name>AARNE KYLAKALLIO</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13069798</id>
    <updated>2013-03-15T10:11:53Z</updated>
    <published>2013-03-15T10:11:53Z</published>
    <summary type="html">Hi, there is a registry setting in CTIOS server, that states how many monitor mode connections are allowed. I think the default is 2, we have used 8 with no problems for 600 agents envinronments.
It seems for me that there are some monitor mode applications there and you should change the registry setting from 2 to something bigger.</summary>
    <dc:creator>AARNE KYLAKALLIO</dc:creator>
    <dc:date>2013-03-15T10:11:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: CTI OS Server Offline on CTI OS Server-Client connection</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12969417" />
    <author>
      <name>AARNE KYLAKALLIO</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12969417</id>
    <updated>2013-03-13T14:26:14Z</updated>
    <published>2013-03-13T14:26:14Z</published>
    <summary type="html">Hi, typically 42027 is a cti-server port for CG1 and 42028 is for ctios-server. Are you sure you are using the rigth port?</summary>
    <dc:creator>AARNE KYLAKALLIO</dc:creator>
    <dc:date>2013-03-13T14:26:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: A problem with CTIOS Toolkit</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7488092" />
    <author>
      <name>AARNE KYLAKALLIO</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7488092</id>
    <updated>2012-10-10T10:49:35Z</updated>
    <published>2012-10-10T10:49:35Z</published>
    <summary type="html">Big Thanks for the code sample.
I had to modify it a bit (code below), since the thread name was already set where I called Set_Agent for the first time. I found out that the latest point where current.thread.name was not set in my code was just before connect method.
Also I had to create a new property, AgentPeripheralNumber, that I can set later in the code where I know what it is.
Is there any (easy) way to see if this fixes the issue other than installing the new client to 600 workstations.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
&lt;font size="2"&gt;
 
&lt;/font&gt;
public class CtiOsSessionWithAgentID : CtiOsSession

{
&lt;font size="2"&gt;
 
&lt;/font&gt;
private string _agentID;&lt;font size="2"&gt;
 
&lt;/font&gt;
public string sAgentPeripheralNumber
{
&lt;font size="2"&gt;
 
&lt;/font&gt;
get
{
&lt;font size="2"&gt;
 
&lt;/font&gt;
return _agentID;
}
&lt;font size="2"&gt;
 
&lt;/font&gt;
set
{
&lt;font size="2"&gt;
_agentID = 
&lt;/font&gt;
value;
}
}
&lt;font size="2"&gt;
 
&lt;/font&gt;
public CtiOsSessionWithAgentID(string pAgentID)
{
_agentID = pAgentID;
}
&lt;font size="2"&gt;
 
&lt;/font&gt;
new public CilError SetAgent(Agent NewAgent)
{
&lt;font size="2"&gt;
 
&lt;/font&gt;
// could not set thread name here, since it was alraedy set
&lt;font size="2"&gt;
 
&lt;/font&gt;
return base.SetAgent(NewAgent);
}
&lt;font size="2"&gt;
 
&lt;/font&gt;
new public CilError Connect(Arguments rArgs)
{
&lt;font size="2"&gt;
 
&lt;/font&gt;
if (Thread.CurrentThread.Name != null)
{
&lt;font size="2"&gt;
 
&lt;/font&gt;
// cant't set the thread name since it is set already

}
&lt;font size="2"&gt;
 
&lt;/font&gt;
else

{
&lt;font size="2"&gt;
 
&lt;/font&gt;
Thread.CurrentThread.Name = _agentID;
}
&lt;font size="2"&gt;
 
&lt;/font&gt;
return base.Connect(rArgs);
}
 
}</summary>
    <dc:creator>AARNE KYLAKALLIO</dc:creator>
    <dc:date>2012-10-10T10:49:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: A problem with CTIOS Toolkit</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7443115" />
    <author>
      <name>AARNE KYLAKALLIO</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7443115</id>
    <updated>2012-10-09T10:58:15Z</updated>
    <published>2012-10-09T10:58:15Z</published>
    <summary type="html">We are hitting this same problem.
Is there a way to verify from ctios server logs that the threadname is set correctly, since othervise it is hard to see if this is fixed.
Also, would you like to share the new connect method.</summary>
    <dc:creator>AARNE KYLAKALLIO</dc:creator>
    <dc:date>2012-10-09T10:58:15Z</dc:date>
  </entry>
</feed>

