Exemple #1
0
 public AsteriskPhoneInputHandler(ICall call, IPromptPlayer promptPlayer)
 {
     _call                           = call;
     _promptPlayer                   = promptPlayer;
     DigitsReceived                  = "";
     DigitTimeoutTimer               = new Timer();
     DigitTimeoutTimer.Elapsed      += DigitTimeoutEvent;
     MaxDigitTimeoutInSeconds        = 0;
     NumberOfDigitsToWaitForNextStep = 0;
     TerminationDigit                = "#";
 }
Exemple #2
0
 public CallStateMachine(ICall call, IPromptPlayer promptPlayer)
 {
     _call         = call;
     _promptPlayer = promptPlayer;
 }