Profile Server Configuration Settings

The Configuration Settings of the Profile Server are a set of configurable parameters that affect the behaviour of the profile server.

This topic describes the Key Schema for the Configuration Settings.

Key Schema for Configuration Settings

Profile Server settings are configured using a 32 bit Key in CenRep.

The first 8 bits of the Key define the table. The interpretation of the remaining 24 bits of the Key is specific to the table.

The existing table is Profile Property Table( KSIPProfilePropertiesTable ):

Key Schema for Profile Property Table

For the Profile Property Table, the 24 bits constitute the Profile Type and Profile Property.

Table 1.
8 bits 8 bits 16 bits
Profile Property Table Profile Type Profile Property

Profile Types are defined as enum TSIPProfileClass in sipproifiletypeinfo.h .

Profile Properties are defined as enum TProfileProperty in sipprofileagentextensionparams.h .

The enum values for Profile Type and Profile Property has to be incremented by 1 before the key is formed. This approach is adapted for better key intepretation since the enum values start from 0.

Example

The following example shows how to form a Key to set the default Registration duration for IETF profile in Profile Property Table.

The value defined for Profile Property Table asKSIPProfilePropertiesTable(0x01000000).

The value defined for Profile Type IETF in enum TSIPProfileClass is EInternet(0) .

The value defined for 'Profile Property' 'Registration' in enumTProfileProperty is EProfileRegistrationValue (0).

The resulting Key formed is:

  • Table Profile Type Profile Property
    0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
  • Table Profile Type Profile Property
    0 1 0 1 0 0 0 1

The values of "IETF" and "Registration Profile Property" are incremented by 1 before the key is formed.