Difference between revisions of "Unit SIP"

From Ultibo.org
Jump to: navigation, search
 
Line 5: Line 5:
 
----
 
----
  
'''Ultibo SIP interface unit'''
+
'''Ultibo SIP Interface unit'''
 
+
''To be documented''
+
  
 
=== Constants ===
 
=== Constants ===

Latest revision as of 05:31, 31 August 2021

Return to Unit Reference


Description


Ultibo SIP Interface unit

Constants



SIP logging SIP_LOG_*
SIP_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG; SIP debugging messages
SIP_LOG_LEVEL_INFO = LOG_LEVEL_INFO; SIP informational messages
SIP_LOG_LEVEL_WARN = LOG_LEVEL_WARN; SIP warning messages
SIP_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR; SIP error messages
SIP_LOG_LEVEL_NONE = LOG_LEVEL_NONE; No SIP messages


Type definitions


None defined

Public variables



SIP logging

SIP_DEFAULT_LOG_LEVEL:LongWord = SIP_LOG_LEVEL_DEBUG; Minimum level for SIP messages. Only messages with level greater than or equal to this will be printed.
SIP_LOG_ENABLED:Boolean;


Function declarations



Initialization functions

procedure SIPInit;
Description: To be documented
Note None documented


SIP helper functions

procedure SIPLog(Level:LongWord; const AText:String);
Description: To be documented
Note None documented


procedure SIPLogInfo(const AText:String); inline;
Description: To be documented
Note None documented


procedure SIPLogWarn(const AText:String); inline;
Description: To be documented
Note None documented


procedure SIPLogError(const AText:String); inline;
Description: To be documented
Note None documented


SIPLogDebug(const AText:String); inline;
Description: To be documented
Note None documented


Return to Unit Reference