/// <summary> ///Constructor /// </summary> /// <param name="avCall"></param> /// <param name="configuration"></param> public DialupDialog(AudioVideoCall avCall, DialupConfiguration configuration) { this.AudioVideoCall = avCall; this.Configuration = configuration; speechGrammar = new List <Grammar>(); dtmfGrammar = new List <Grammar>(); }
private void StartupDialupDialog(AsyncTask task, object state) { task.DoFinalStep( delegate() { m_configuration = ApplicationConfiguration.GetDialupConfiguration(); //Start Dialup dialog to get the number user wants to dial. DialupDialog dialupDialog = new DialupDialog(CustomerSession.CustomerServiceChannel.ServiceChannelCall, m_configuration); dialupDialog.Completed += new EventHandler <DialogCompletedEventArgs>(this.DialupDialogCompleted); dialupDialog.Run(); }); }