Exemple #1
0
 public DoCall(GenericStep _step)
     : base()
 {
     callStep = new GenericCallStep();
     callStep = (GenericCallStep)_step;
     timeOut  = callStep.TimeOut;
     Console.WriteLine("Test " + ((eConf.SipConfig)EConfPlayer.Instance._Terminal.SipConfig).AnonymousCall);
 }
Exemple #2
0
        public override Object ToGeneric()
        {
            GenericCallStep temp = new GenericCallStep();

            temp.Alias           = this.Alias;
            temp.CallerIdentitie = this.CallerIdentitie;
            temp.CallMode        = this.CallMode;
            temp.CallType        = this.CallType;
            temp.Protocol        = this.Protocol;

            temp.TesterDestination = this.TesterDestination;
            temp.TesterSource      = this.TesterSource;
            temp.TimeOut           = this.TimeOut;
            temp.NumStep           = this.NumStep;

            return(temp);
        }
Exemple #3
0
        public ReceiveCall(GenericStep _step)
            : base()
        {
            callStep = new GenericCallStep();
            callStep = (GenericCallStep)_step;
            timeOut  = callStep.TimeOut;

            timeOut += 10000;
            Trace.WriteLine(timeOut.ToString());

            EConfPlayer.Instance.ResetAllCodecs();
            EConfPlayer.Instance.ActivateCodec(eConf.eCodecType.eCODEC_AUDIOG711);
            EConfPlayer.Instance.ActivateCodec(eConf.eCodecType.eCODEC_AUDIORFC2833);
            EConfPlayer.Instance.ActivateCodec(eConf.eCodecType.eCODEC_AUDIOG722);
            Console.WriteLine("Test " + ((eConf.SipConfig)EConfPlayer.Instance._Terminal.SipConfig).AnonymousCall);
            Console.WriteLine("Test1 " + ((eConf.SipConfig)EConfPlayer.Instance._Terminal.SipConfig).CallInfo);
            Console.WriteLine("Test2 " + ((eConf.SipConfig)EConfPlayer.Instance._Terminal.SipConfig).DisplayName);
            Console.WriteLine("Test1 " + ((eConf.SipConfig)EConfPlayer.Instance._Terminal.SipConfig).AllowPresence);
        }