/sipsorcery-core/SIPSorcery.Web.Services/CallManager/CallManagerProxy.cs
https://github.com/thecc4re/sipsorcery-mono · C# · 42 lines · 35 code · 7 blank · 0 comment · 0 complexity · 4cde9810ddb7d123ae4f12674b5afc04 MD5 · raw file
- 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);
- }
- }
- }