« Back to Serviceability XML Questions

Using Risport as a WCF service from C#

Combination View Flat View Tree View
Threads [ Previous | Next ]
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();          
 
 

 
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?

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

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

 
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,