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

Language C# Lines 43
MD5 Hash 4cde9810ddb7d123ae4f12674b5afc04
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
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using System.Threading;

namespace SIPSorcery.Web.Services {

    public partial class CallManagerProxy : ClientBase<ICallManagerServices>, ICallManagerServices
    {
        public CallManagerProxy()
            : base()
        { }

        public CallManagerProxy(Binding binding, EndpointAddress address)
            : base(binding, address)
        { }

        public bool IsAlive()
        {
            return base.Channel.IsAlive();
        }

        public string WebCallback(string username, string number)
        {
            return base.Channel.WebCallback(username, number);
        }

        public string BlindTransfer(string username, string destination, string replaceCallID)
        {
            return base.Channel.BlindTransfer(username, destination, replaceCallID);
        }

        public string DualTransfer(string username, string callID1, string callID2)
        {
            return base.Channel.DualTransfer(username, callID1, callID2);
        }
    }
}
Back to Top