Пример #1
0
 void AsteriskForm_onEndCall(string channel)
 {
     HangupAction haction = new HangupAction()
     {
         Channel = channel
     };
     sendaction(haction);
 }
Пример #2
0
 public bool HangUp(string caller, string callid)
 {
     log.Debug("Hanging up call " + callid + " from " + caller);
     HangupAction ha = new HangupAction(callid);
     return _manager.SendAction(ha, 10000).IsSuccess();
 }