Dial plan to execute
Beispiel #1
0
        private void DialPlanHunt(IRequest request)
        {
            var dialPlan = new DialPlan(request.From, request.To);
            _dialPlanManager.PreProcess(dialPlan);

            try
            {
                DialPlanRequested(this, new DialPlanEventArgs(dialPlan));
            }
            catch (Exception err)
            {
                // oops, someone threw an exception.
            }

            _dialPlanManager.Process(dialPlan);
        }
Beispiel #2
0
 /// <summary>
 /// Process a dial plan.
 /// </summary>
 /// <param name="dialPlan">Dial plan.</param>
 public void Process(DialPlan dialPlan)
 {
 }