Public Class SIPPhoneCfgWrap
    'sip account info
    Public DisplayName As String
    Public UserName As String
    Public Password As String
    Public Domain As String
    Public RegisterDomain As Boolean



    'network
    Public SIPPort As UShort
    Public RTPPort As UShort
    Public StunServer As String
    Public UseNATAddr As Boolean

    'audio codec
    Public AudioCodecs As String

    'audio device
    Public Speaker As String
    Public Microphone As String
    Public RecordCalls As Boolean
    Public RecordRoot As String

    Public Protocol As Integer '0 = UDP, 1 = TCP, 2 = TLS

    Public Sub New()
        DisplayName = ""
        UserName = ""
        Password = ""
        Domain = ""
        RegisterDomain = True

        SIPPort = 5066
        RTPPort = 12400
        StunServer = ""
        UseNATAddr = False

        AudioCodecs = "0,8,3"

        Speaker = ""
        Microphone = ""
        RecordCalls = False
        RecordRoot = ""

        Protocol = 0
    End Sub
End Class
