<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: lineDevSpecific silent monitor - Operation Failed in Call Control</title>
    <link>https://community.cisco.com/t5/call-control/linedevspecific-silent-monitor-operation-failed/m-p/4390302#M3065</link>
    <description>&lt;P&gt;Note, TAPI is not tested/supported for use with C#/.NET, i.e. via the compatibility layer mechanism.&amp;nbsp; Known issues include mainly/unfortunately lineDevSpecific requests, as these involve direct sharing of buffer-based objects.&lt;/P&gt;
&lt;P&gt;Ensuring that the OS, application and TSP are both 32 bit or 64 bit may help, but unfortunately there is no sample code for C# and engineering will likely decline any support/escalation request due to lack of testing/support.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 19:32:41 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2021-04-20T19:32:41Z</dc:date>
    <item>
      <title>lineDevSpecific silent monitor - Operation Failed</title>
      <link>https://community.cisco.com/t5/call-control/linedevspecific-silent-monitor-operation-failed/m-p/4386308#M3063</link>
      <description>&lt;P&gt;I’m trying to iniate a silent monitoring session using TAPI in my admin C#/.NET application. After creating the CCiscoLineDevSpecificStartCallMonitoring object and filling in the parameters, the call to lineDevSpecific consistently returns the LINEERR_OPERATIONFAILED.&amp;nbsp; The code is below (C++):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; auto monitor = new CCiscoLineDevSpecificStartCallMonitoring();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; monitor-&amp;gt;m_PermanentLineID = permanentLineId; // The permanent line ID of the agent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; monitor-&amp;gt;m_MonitorMode = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; monitor-&amp;gt;m_ToneDirection = PlayToneDirection_NoLocalOrRemote;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DWORD paramSize = monitor-&amp;gt;dwSize();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; long returnCode = lineDevSpecific(hLine, dwAddressID, NULL, monitor-&amp;gt;lpParams(), paramSize);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what else I need to do to get this to work.&amp;nbsp; There may be other aspects of the code that are causing this problem, though I'm not sure what it could be.&amp;nbsp; Any help is appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 20:30:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/linedevspecific-silent-monitor-operation-failed/m-p/4386308#M3063</guid>
      <dc:creator>tevans2</dc:creator>
      <dc:date>2021-04-15T20:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: lineDevSpecific silent monitor - Operation Failed</title>
      <link>https://community.cisco.com/t5/call-control/linedevspecific-silent-monitor-operation-failed/m-p/4390302#M3065</link>
      <description>&lt;P&gt;Note, TAPI is not tested/supported for use with C#/.NET, i.e. via the compatibility layer mechanism.&amp;nbsp; Known issues include mainly/unfortunately lineDevSpecific requests, as these involve direct sharing of buffer-based objects.&lt;/P&gt;
&lt;P&gt;Ensuring that the OS, application and TSP are both 32 bit or 64 bit may help, but unfortunately there is no sample code for C# and engineering will likely decline any support/escalation request due to lack of testing/support.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 19:32:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/linedevspecific-silent-monitor-operation-failed/m-p/4390302#M3065</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2021-04-20T19:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: lineDevSpecific silent monitor - Operation Failed</title>
      <link>https://community.cisco.com/t5/call-control/linedevspecific-silent-monitor-operation-failed/m-p/4390311#M3066</link>
      <description>&lt;P&gt;That's good to know.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, what we have is a C#/.NET application, but the TAPI files and managers are in lower levels of the code, specifically in C++ files which we compile to .dll in order to access them via the higher levels of the application (the C#/.NET stuff).&amp;nbsp; Is there anything you can see within the code snippet in my original question that seems off?&amp;nbsp; I have that within one of our C++ TAPI Managers, so I would assume that lineDevSpecific should behave normally there.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 19:41:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/linedevspecific-silent-monitor-operation-failed/m-p/4390311#M3066</guid>
      <dc:creator>tevans2</dc:creator>
      <dc:date>2021-04-20T19:41:51Z</dc:date>
    </item>
  </channel>
</rss>

