Exemplo n.º 1
0
        /// <summary>
        /// Notify application when registration or unregistration has been initiated.
        /// </summary>
        /// <param name="sender">The current sender.</param>
        /// <param name="e">The event parameter.</param>
        private void _voipManager_OnRegStarted(object sender, OnRegStartedParam e)
        {
            // Send a notification to the call.
            Param.OnRegStartedParam param = new Param.OnRegStartedParam();
            param.Renew = e.Renew;

            // Call the event handler.
            OnRegStarted?.Invoke(this, param);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Notify application when registration or unregistration has been initiated.
 /// </summary>
 /// <param name="sender">The current sender.</param>
 /// <param name="e">The event parameter.</param>
 private void _account_OnRegStarted(object sender, OnRegStartedParam e)
 {
     OnRegStarted?.Invoke(this, e);
 }