PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/sipsorcery-core/SIPSorcery.Web.Services/CallManager/ICallManagerServices.cs

https://github.com/thecc4re/sipsorcery-mono
C# | 29 lines | 23 code | 6 blank | 0 comment | 0 complexity | 44b69a8555201a49854864e859b7fcfd MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.ServiceModel;
  5. using System.ServiceModel.Web;
  6. using System.Text;
  7. namespace SIPSorcery.Web.Services {
  8. [ServiceContract(Namespace = "http://www.sipsorcery.com/callmanager")]
  9. public interface ICallManagerServices {
  10. [OperationContract]
  11. [WebGet(UriTemplate = "isalive")]
  12. bool IsAlive();
  13. [OperationContract]
  14. [WebGet(UriTemplate = "webcallback?user={username}&number={number}")]
  15. string WebCallback(string username, string number);
  16. [OperationContract]
  17. [WebGet(UriTemplate = "blindtransfer?user={username}&destination={destination}&callid={replacesCallID}")]
  18. string BlindTransfer(string username, string destination, string replacesCallID);
  19. [OperationContract]
  20. [WebGet(UriTemplate = "dualtransfer?user={username}&callid1={callID1}&callid2={callID2}")]
  21. string DualTransfer(string username, string callID1, string callID2);
  22. }
  23. }