Ejemplo n.º 1
0
        public ConferenceUser(Conference conf, Channel chan, AriClient client, ConferenceUserType type)
        {
            _conference = conf;
            Channel = chan;
            _client = client;
            Type = type;

            // Initial State
            State = ConferenceUserState.AskForName;
            // Get user to speak name
            CurrentPlaybackId = _client.Channels.Play(Channel.Id, "sound:vm-rec-name", "en", 0, 0, Guid.NewGuid().ToString()).Id;
            RecordName();
        }
Ejemplo n.º 2
0
        public ConferenceUser(Conference conf, Channel chan, AriClient client, ConferenceUserType type)
        {
            _conference = conf;
            Channel     = chan;
            _client     = client;
            Type        = type;

            // Initial State
            State = ConferenceUserState.AskForName;
            // Get user to speak name
            CurrentPlaybackId = _client.Channels.Play(Channel.Id, "sound:vm-rec-name", "en", 0, 0, Guid.NewGuid().ToString()).Id;
            RecordName();
        }