<?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>Using Risport as a WCF service from C#</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7716812" />
  <subtitle>Using Risport as a WCF service from C#</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7716812</id>
  <updated>2013-05-20T22:40:54Z</updated>
  <dc:date>2013-05-20T22:40:54Z</dc:date>
  <entry>
    <title>RE: Using Risport as a WCF service from C#</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7814096" />
    <author>
      <name>Jeffrey Bryant</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7814096</id>
    <updated>2012-10-18T17:30:01Z</updated>
    <published>2012-10-18T17:30:01Z</published>
    <summary type="html">[quote=David Staudt]The Serviceability SOAP API does not have the capability to provide real-time phone call status.  If you need this capability, please explore the TAPI or JTAPI APIs:
http://developer.cisco.com/web/tapi/home
http://developer.cisco.com/web/jtapi[/quote]
 
Hi, 
  What is the CTiDevice CTIStatus for? I thought that was the status of the device.
  If I use TAPI, can I find the status for ANY device? I always thought that TAPI was just for a connected device.
Thanks,</summary>
    <dc:creator>Jeffrey Bryant</dc:creator>
    <dc:date>2012-10-18T17:30:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Using Risport as a WCF service from C#</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7774040" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7774040</id>
    <updated>2012-10-17T22:39:57Z</updated>
    <published>2012-10-17T22:39:57Z</published>
    <summary type="html">The Serviceability SOAP API does not have the capability to provide real-time phone call status.  If you need this capability, please explore the TAPI or JTAPI APIs:
http://developer.cisco.com/web/tapi/home
http://developer.cisco.com/web/jtapi</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2012-10-17T22:39:57Z</dc:date>
  </entry>
  <entry>
    <title>Using Risport as a WCF service from C#</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7716811" />
    <author>
      <name>Jeffrey Bryant</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7716811</id>
    <updated>2012-10-16T20:18:55Z</updated>
    <published>2012-10-16T20:13:01Z</published>
    <summary type="html">Hi,
I have a basic strategy in how to accomplish this. RisPort is the namespace of the service created. It goes like this...
       
RisPort.RisPortTypeClient rptc = new RisPort.RisPortTypeClient();
            
rptc.ClientCredentials.UserName.UserName = "ConfRoomSpy";
            
rptc.ClientCredentials.UserName.Password = "@@@@@@@";
            
rptc.Open();
            
string State="";
 
            
RisPort.SelectCtiItemResult results=new RisPort.SelectCtiItemResult();
            
RisPort.CtiSelectionCriteria query=new RisPort.CtiSelectionCriteria();
            
rptc.SelectCtiItem(ref State, out results, query);
 
 
            
Console.ReadKey();
            
rptc.Close();          
 
 [b]
[/b]
 
[b]Now the question I have is, How do I query the CtiItem to determine if the phone is off-hook? How would you do it if you were going to do it using SOAP?[/b]</summary>
    <dc:creator>Jeffrey Bryant</dc:creator>
    <dc:date>2012-10-16T20:13:01Z</dc:date>
  </entry>
</feed>

