Exemple #1
0
        private void btnBeginTest_Click(object sender, EventArgs e)
        {
            pnlResults.Visible = true;

            // Create our SIP profile
            WOSI.NET.inTELIPhone.SIPProfile sipProfile = new WOSI.NET.inTELIPhone.SIPProfile();

            sipProfile.AuthPassword       = txtPassword.Text.Trim();
            sipProfile.AuthUsername       = txtAuthUsername.Text.Trim();
            sipProfile.DisplayName        = txtCallerID.Text;
            sipProfile.DomainRealm        = txtDomain.Text;
            sipProfile.SIPProxyServer     = txtProxyServer.Text;
            sipProfile.SIPRegistrarServer = txtRegistrarServer.Text;
            sipProfile.Username           = txtPhoneNumber.Text;

            testing = true;

            ipClient.RegisterProfile(sipProfile, (int)numExpires.Value);
        }
        private void btnBeginTest_Click(object sender, EventArgs e)
        {
            pnlResults.Visible = true;

            // Create our SIP profile
            WOSI.NET.inTELIPhone.SIPProfile sipProfile = new WOSI.NET.inTELIPhone.SIPProfile();

            sipProfile.AuthPassword = txtPassword.Text.Trim();
            sipProfile.AuthUsername = txtAuthUsername.Text.Trim();
            sipProfile.DisplayName = txtCallerID.Text;
            sipProfile.DomainRealm = txtDomain.Text;
            sipProfile.SIPProxyServer = txtProxyServer.Text;
            sipProfile.SIPRegistrarServer = txtRegistrarServer.Text;
            sipProfile.Username = txtPhoneNumber.Text;

            testing = true;

            ipClient.RegisterProfile(sipProfile, (int)numExpires.Value);
        }