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

Language C# Lines 30
MD5 Hash 44b69a8555201a49854864e859b7fcfd
Repository https://github.com/thecc4re/sipsorcery-mono.git View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace SIPSorcery.Web.Services {

    [ServiceContract(Namespace = "http://www.sipsorcery.com/callmanager")]
    public interface ICallManagerServices {

        [OperationContract]
        [WebGet(UriTemplate = "isalive")]
        bool IsAlive();

        [OperationContract]
        [WebGet(UriTemplate = "webcallback?user={username}&number={number}")]
        string WebCallback(string username, string number);

        [OperationContract]
        [WebGet(UriTemplate = "blindtransfer?user={username}&destination={destination}&callid={replacesCallID}")]
        string BlindTransfer(string username, string destination, string replacesCallID);

        [OperationContract]
        [WebGet(UriTemplate = "dualtransfer?user={username}&callid1={callID1}&callid2={callID2}")]
        string DualTransfer(string username, string callID1, string callID2);
    }
}
Back to Top