SIPSorcery.SIP.App.SIPCallDescriptor.SIPCallDescriptor C# (CSharp) 메소드

SIPCallDescriptor() 공개 메소드

public SIPCallDescriptor ( SIPAccount toSIPAccount, string uri, string fromHeader, string contentType, string content ) : System
toSIPAccount SIPAccount
uri string The uri can be different to the to SIP account if a dotted notation is used. For /// example [email protected].
fromHeader string
contentType string
content string
리턴 System
        public SIPCallDescriptor(SIPAccount toSIPAccount, string uri, string fromHeader, string contentType, string content)
        {
            ToSIPAccount = toSIPAccount;
            Uri = uri ?? toSIPAccount.SIPUsername + "@" + toSIPAccount.SIPDomain;
            From = fromHeader;
            ContentType = contentType;
            Content = content;
        }

Same methods

SIPCallDescriptor::SIPCallDescriptor ( string username, string password, string uri, string callbackNumber, string callbackPattern, int callbackPhoneType, string content, string contentType, IPAddress mangleIPAddress ) : System
SIPCallDescriptor::SIPCallDescriptor ( string username, string password, string uri, string from, string to, string routeSet, List customHeaders, string authUsername, SIPCallDirection callDirection, string contentType, string content, IPAddress mangleIPAddress ) : System