/// <summary>
 /// Fired when a transfer is pending and the call leg that is going to be bridged hangs up before the transfer completes.
 /// </summary>
 public void PendingLegHungup()
 {
     try
     {
         CallCancelled?.Invoke(this);
     }
     catch (Exception excp)
     {
         logger.Error("Exception PendingLegHungup. " + excp);
     }
 }
        public void Cancel()
        {
            try
            {
                logger.Debug("SIPB2BUserAgent Cancel.");
                m_uasTransaction.CancelCall();
                m_uacTransaction.CancelCall();

                CallCancelled?.Invoke(this);
            }
            catch (Exception excp)
            {
                logger.Error("Exception SIPB2BUserAgent Cancel. " + excp.Message);
            }
        }
Esempio n. 3
0
 private void UASTransactionCancelled(SIPTransaction sipTransaction)
 {
     logger.LogDebug("SIPServerUserAgent got cancellation request.");
     m_isCancelled = true;
     CallCancelled?.Invoke(this);
 }
 public void NoCDR()
 {
     CallCancelled.Invoke(this);
     throw new NotImplementedException();
 }