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); }
/// <summary> /// Process a dial plan. /// </summary> /// <param name="dialPlan">Dial plan.</param> public void Process(DialPlan dialPlan) { }