ParseSIPContact

Top  Previous  Next

 

ParseSIPContact(Contact: String; var UserName, Host: String; var Port: Integer): Boolean; - Delphi syntax

bool ParseSIPContact(string Contact,  ref string UserName, ref string Host, ref int Port); - C# syntax

ParseSIPContact(Contact As String,  ByRef UserName As String, ByRef Host As String, ByRef Port As Integer) As Boolean; - VB.NET syntax

 

Description

This method parses the SIP contact name (URI) to its parts - user name, host, port. Please don't forget about 'sip:' prefix. Returns True if parsing was successful and False if it failed.