Concept Flash Directory

From innovaphone-wiki

Jump to: navigation, search

The flash directory is a software module on top of the flash management module. It serves firmware-internally as a database offering an LDAP-like API.

Contents

[edit] Applies To

This information applies to

  • innovaphone PBXs, V9, V10


[edit] More Information

+-------+       +-------------+    +-----------------+
| | | | | |
| PBX | | LDAP Server | | LDAP Replicator |
+-------+ +-------------+ +-----------------+
| | |
| | +-----------+
| | |
| +-----------------+ | +-------+ +-----------------+
+---| |----+ | | | |
| Flash Directory | | VARS | | FW Upload |
+-----------------+ +---+---+ +--------+--------+
| +--------------------+ |
| | +-----------------------------------+
| | |
+---------------+
| |
| Flash Manager |
+---------------+

Above: Illustration of the flash directory residing in between its applications and the flash manager. Other clients of the flash manager are shown.

[edit] Investigating Flash Directory Space

The current assignment of the available space for the flash directory can be investigated by issuing the following command towards the flash manager.

mod cmd FLASHMAN0 info

The output may look as follows

bottom 0xfe020000 base 0xfe020000 top 0xfffc0000 segsize 0x20000 segments 253
LDAP - used 6944k avail 87k owned 7040k (max 9728k)
VARS - used 10k avail 90k owned 128k (max 256k)
...

Within the above excerpt the line beginning with LDAP shows the flash directory's utilization of flash space.

  • used 6944k tells how much payload is effectively in use
  • avail 87k tells how much space is available within the current 64KB segment. I.e. this value does not tell how much overall space is remaining.
  • owned 7040k tells how much space is occupied by the payload plus space that wasn't freed, yet
  • max 9728k tells how much space would be available as maximum

Whereby only the two values used 6944k and max 9728k are of practical interest for an administrator. The total available space is calculated by 9728k-6944k and equals 2784k.

[edit] Increasing Flash Directory Space

Warning: The procedure described here shall always be applied after consulting the innovaphone support.

If for whatever reason the available space for the flash directory doesn't suffice the following tweak may help:

config change FLASHDIR0 /seg <number-of-64KB-segments>

Where <number-of-64KB-segments> is a number, denoting the available space in multiples of 64KB. Note: If the /seg parameter was once specified and is later on about to be removed or lowered, a loss of data will happen.

Example Calculation: 152 segments of 64KB yield a total of 9961472 Bytes or roughly 9.5MB.

Default settings for the flash directory segments(in number of 64KB segments)

  • IPxx10 128
  • IP6000 50
  • IP800 50
  • IP30x 50
  • IPVA up to 900

You can examine the current allocation of flash segments to applications using the !mod cmd FLASHMAN0 info state command. E.g.

https://172.16.7.254/!mod%20cmd%20FLASHMAN0%20info%20state

bottom 0x80000 base 0x80000 top 0x2000000
segments=504, segment-size=0x10000 (64k)
LDAP - used 160k avail 22k owned 192k (segments 3) maximum 15616k (segments 244, configured 244)
VARS - used 65k avail 1k owned 640k (segments 10) maximum 640k (segments 10, configured 10)
FIRM - used 6422528k (segments 98)
MINI - used 1245184k (segments 19)
segment state
 503  available for firmware, minifirmware, VARS, LDAP, ...
  13  owned by VARS, LDAP, ...
 117  owned by firmware + minifirmware
 254  current maximum for VARS, LDAP, ...
 254  configured maximum for VARS, LDAP, ...
 249  maximum for firmware + minifirmware according to configured maximum for VARS, LDAP, ...

See also Finding a Flash Memory Hog in Reference:Device Health Check.

[edit] Obsolete V8 parameter /max

Within version 8 an additional parameter /max allowed to specify the maximum amount of object entries within the flash directory. E.g. as follows

config change FLASHDIR0 /seg 80 /max 14000

This parameter /max has been deprecated from on version 9, where's no such limit in a practical sense.


[edit] IPVA Aspects

This procedure shouldn't be applied into an IPVA. The IPVA increases the /seg parameter automatically depending on the available RAM.

[edit] Accessing Error Messages

The flash directory maintains a backlog of a few recent error messages.

Those messages are accessible either via the replicator status page or via the LDAP expert:

  • Services/LDAP/Rep-Status/Flash Directory Status
  • Services/LDAP/Expert/Flash Directory Status

[edit] Escape Rule For Object Values

This section explains an escaping mechanism, that is to be introduced with firmware version 10. In version 9 it'll be also available from on V9HF25. The mechanism's motivation is to avoid unnecessary binary encodings, to spare some length per configuration line and to ease manual search+replace operations.

After downloading a configuration file, flash directory objects will appear alike the following sample

mod cmd FLASHDIR0 add-item 102 (cn=Nitram \28S.\29)(dn=Nitram\\\\\\das waren drei Backslashes\\Das war ein Backslash,Am Ende nochmal ein Backslash\\)(h323=Nitram\\\28)(e164=371)(loc=.)(node=root)(pbx=<user/>)(pbx=<device hw="Nitram"/>)(pbx=<presence c="tel" s="open" a="appointment" n="Hallo,\0D\0A;ballo.\0D\0A\0D\0A;Denno\0D\0ABenno"/>)(guid;bin=07040A9AE909D311B4B9000C29142AF8)(usn=596399)

A line of configuration displays the PBX object Nitram (S.).


Without going into all details the general outline is

  • (<Attribute-Name>=<Attribute-Value>)

If the attribute's name received the suffix ;bin, then the attribute's value is printed as a string of hexadecimal digits 0-9, A-F. The only such attribute will be the guid-attribute as can be seen above. This mechanism was already in place in previous firmware versions.


For all other attribute values an escaping mechanism applies:

  • If the attribute contains values less than decimal 32(i.e. less the space character), then the value is going to be escaped
  • If the attribute contains the characters (, ) or \ then then the value is going to be escaped


The afore-mentioned escaping mechanism works as simple as follows

  • A backslash \ is being printed as two backslashes \\
  • All other values will be printed as <backslash><hexadecimal value>. Here come a few:
    • ( as \28
    • ) as \29
    • Carriage Return as \0D
    • Line Feed as \0A
Long Name+-------------+   Display Name+------------------------------------------------------------------------------------------+
| Nitram (S.) | | Nitram\\\das waren drei Backslashes\Das war ein Backslash,Am Ende nochmal ein Backslash\ |
+-------------+ +------------------------------------------------------------------------------------------+
 
Name+-------------+
| Nitram\( |
+-------------+

The PBX object Nitram (S.) from above as it appears in the Web UI.

[edit] Config-Encoding Of Objects Breaking Through 8K Line Length

This paragraph addresses a problem where configuration lines reaching a length of 8K prevented a configuration upload to succeed.

The following example is such a problematic object. It appears within the configuration file as a line containing 8415 characters.

mod cmd FLASHDIR0 add-item 102 (cn=Test-Long)(dn=Test-Long)(h323=Test-Long)(e164=98)(loc=Berlin)(node=root)(pbx=<user text="Test-Long"/>)(attribute0=This Is The Content Of Attribute\28Number 0\29)(attribute1=This Is The Content Of Attribute\28Number 1\29)(attribute2=This Is The Content Of Attribute\28Number 2\29)(attribute3=This Is The Content Of Attribute\28Number 3\29)(attribute4=This Is The Content Of Attribute\28Number 4\29)(attribute5=This Is The Content Of Attribute\28Number 5\29)(attribute6=This Is The Content Of Attribute\28Number 6\29)(attribute7=This Is The Content Of Attribute\28Number 7\29)(attribute8=This Is The Content Of Attribute\28Number 8\29)(attribute9=This Is The Content Of Attribute\28Number 9\29)(attribute10=This Is The Content Of Attribute\28Number 10\29)(attribute11=This Is The Content Of Attribute\28Number 11\29)(attribute12=This Is The Content Of Attribute\28Number 12\29)(attribute13=This Is The Content Of Attribute\28Number 13\29)(attribute14=This Is The Content Of Attribute\28Number 14\29)(attribute15=This Is The Content Of Attribute\28Number 15\29)(attribute16=This Is The Content Of Attribute\28Number 16\29)(attribute17=This Is The Content Of Attribute\28Number 17\29)(attribute18=This Is The Content Of Attribute\28Number 18\29)(attribute19=This Is The Content Of Attribute\28Number 19\29)(attribute20=This Is The Content Of Attribute\28Number 20\29)(attribute21=This Is The Content Of Attribute\28Number 21\29)(attribute22=This Is The Content Of Attribute\28Number 22\29)(attribute23=This Is The Content Of Attribute\28Number 23\29)(attribute24=This Is The Content Of Attribute\28Number 24\29)(attribute25=This Is The Content Of Attribute\28Number 25\29)(attribute26=This Is The Content Of Attribute\28Number 26\29)(attribute27=This Is The Content Of Attribute\28Number 27\29)(attribute28=This Is The Content Of Attribute\28Number 28\29)(attribute29=This Is The Content Of Attribute\28Number 29\29)(attribute30=This Is The Content Of Attribute\28Number 30\29)(attribute31=This Is The Content Of Attribute\28Number 31\29)(attribute32=This Is The Content Of Attribute\28Number 32\29)(attribute33=This Is The Content Of Attribute\28Number 33\29)(attribute34=This Is The Content Of Attribute\28Number 34\29)(attribute35=This Is The Content Of Attribute\28Number 35\29)(attribute36=This Is The Content Of Attribute\28Number 36\29)(attribute37=This Is The Content Of Attribute\28Number 37\29)(attribute38=This Is The Content Of Attribute\28Number 38\29)(attribute39=This Is The Content Of Attribute\28Number 39\29)(attribute40=This Is The Content Of Attribute\28Number 40\29)(attribute41=This Is The Content Of Attribute\28Number 41\29)(attribute42=This Is The Content Of Attribute\28Number 42\29)(attribute43=This Is The Content Of Attribute\28Number 43\29)(attribute44=This Is The Content Of Attribute\28Number 44\29)(attribute45=This Is The Content Of Attribute\28Number 45\29)(attribute46=This Is The Content Of Attribute\28Number 46\29)(attribute47=This Is The Content Of Attribute\28Number 47\29)(attribute48=This Is The Content Of Attribute\28Number 48\29)(attribute49=This Is The Content Of Attribute\28Number 49\29)(attribute50=This Is The Content Of Attribute\28Number 50\29)(attribute51=This Is The Content Of Attribute\28Number 51\29)(attribute52=This Is The Content Of Attribute\28Number 52\29)(attribute53=This Is The Content Of Attribute\28Number 53\29)(attribute54=This Is The Content Of Attribute\28Number 54\29)(attribute55=This Is The Content Of Attribute\28Number 55\29)(attribute56=This Is The Content Of Attribute\28Number 56\29)(attribute57=This Is The Content Of Attribute\28Number 57\29)(attribute58=This Is The Content Of Attribute\28Number 58\29)(attribute59=This Is The Content Of Attribute\28Number 59\29)(attribute60=This Is The Content Of Attribute\28Number 60\29)(attribute61=This Is The Content Of Attribute\28Number 61\29)(attribute62=This Is The Content Of Attribute\28Number 62\29)(attribute63=This Is The Content Of Attribute\28Number 63\29)(attribute64=This Is The Content Of Attribute\28Number 64\29)(attribute65=This Is The Content Of Attribute\28Number 65\29)(attribute66=This Is The Content Of Attribute\28Number 66\29)(attribute67=This Is The Content Of Attribute\28Number 67\29)(attribute68=This Is The Content Of Attribute\28Number 68\29)(attribute69=This Is The Content Of Attribute\28Number 69\29)(attribute70=This Is The Content Of Attribute\28Number 70\29)(attribute71=This Is The Content Of Attribute\28Number 71\29)(attribute72=This Is The Content Of Attribute\28Number 72\29)(attribute73=This Is The Content Of Attribute\28Number 73\29)(attribute74=This Is The Content Of Attribute\28Number 74\29)(attribute75=This Is The Content Of Attribute\28Number 75\29)(attribute76=This Is The Content Of Attribute\28Number 76\29)(attribute77=This Is The Content Of Attribute\28Number 77\29)(attribute78=This Is The Content Of Attribute\28Number 78\29)(attribute79=This Is The Content Of Attribute\28Number 79\29)(attribute80=This Is The Content Of Attribute\28Number 80\29)(attribute81=This Is The Content Of Attribute\28Number 81\29)(attribute82=This Is The Content Of Attribute\28Number 82\29)(attribute83=This Is The Content Of Attribute\28Number 83\29)(attribute84=This Is The Content Of Attribute\28Number 84\29)(attribute85=This Is The Content Of Attribute\28Number 85\29)(attribute86=This Is The Content Of Attribute\28Number 86\29)(attribute87=This Is The Content Of Attribute\28Number 87\29)(attribute88=This Is The Content Of Attribute\28Number 88\29)(attribute89=This Is The Content Of Attribute\28Number 89\29)(attribute90=This Is The Content Of Attribute\28Number 90\29)(attribute91=This Is The Content Of Attribute\28Number 91\29)(attribute92=This Is The Content Of Attribute\28Number 92\29)(attribute93=This Is The Content Of Attribute\28Number 93\29)(attribute94=This Is The Content Of Attribute\28Number 94\29)(attribute95=This Is The Content Of Attribute\28Number 95\29)(attribute96=This Is The Content Of Attribute\28Number 96\29)(attribute97=This Is The Content Of Attribute\28Number 97\29)(attribute98=This Is The Content Of Attribute\28Number 98\29)(attribute99=This Is The Content Of Attribute\28Number 99\29)(attribute100=This Is The Content Of Attribute\28Number 100\29)(attribute101=This Is The Content Of Attribute\28Number 101\29)(attribute102=This Is The Content Of Attribute\28Number 102\29)(attribute103=This Is The Content Of Attribute\28Number 103\29)(attribute104=This Is The Content Of Attribute\28Number 104\29)(attribute105=This Is The Content Of Attribute\28Number 105\29)(attribute106=This Is The Content Of Attribute\28Number 106\29)(attribute107=This Is The Content Of Attribute\28Number 107\29)(attribute108=This Is The Content Of Attribute\28Number 108\29)(attribute109=This Is The Content Of Attribute\28Number 109\29)(attribute110=This Is The Content Of Attribute\28Number 110\29)(attribute111=This Is The Content Of Attribute\28Number 111\29)(attribute112=This Is The Content Of Attribute\28Number 112\29)(attribute113=This Is The Content Of Attribute\28Number 113\29)(attribute114=This Is The Content Of Attribute\28Number 114\29)(attribute115=This Is The Content Of Attribute\28Number 115\29)(attribute116=This Is The Content Of Attribute\28Number 116\29)(attribute117=This Is The Content Of Attribute\28Number 117\29)(attribute118=This Is The Content Of Attribute\28Number 118\29)(attribute119=This Is The Content Of Attribute\28Number 119\29)(attribute120=This Is The Content Of Attribute\28Number 120\29)(attribute121=This Is The Content Of Attribute\28Number 121\29)(attribute122=This Is The Content Of Attribute\28Number 122\29)(attribute123=This Is The Content Of Attribute\28Number 123\29)(attribute124=This Is The Content Of Attribute\28Number 124\29)(attribute125=This Is The Content Of Attribute\28Number 125\29)(attribute126=This Is The Content Of Attribute\28Number 126\29)(attribute127=This Is The Content Of Attribute\28Number 127\29)(attribute128=This Is The Content Of Attribute\28Number 128\29)(attribute129=This Is The Content Of Attribute\28Number 129\29)(attribute130=This Is The Content Of Attribute\28Number 130\29)(attribute131=This Is The Content Of Attribute\28Number 131\29)(attribute132=This Is The Content Of Attribute\28Number 132\29)(attribute133=This Is The Content Of Attribute\28Number 133\29)(guid;bin=C669F720E909D311AF0F000C297EF725)(usn=653636)

Within the physical flash storage the object still occupies less than 8192 bytes(less than 8K). However the config line from above is going to be rejected when trying to upload it. A message like the following is likely to be shown:

Config upload
Error: Oversized line (line 404)
 
Config upload terminated

Beginning with FW Version v10sr7,v9hotfix33 the line from above will therefore be dumped into a configuration file as two lines - illustrated as follows:

mod cmd FLASHDIR0 start-item 102 (cn=Test-Long)(dn=Test-Long)(h323=Test-Long)(e164=98)(loc=Berlin)(node=root)(pbx=<user text="Test-Long"/>)(attribute0=This Is The Content Of Attribute\28Number 0\29)(attribute1=This Is The Content Of Attribute\28Number 1\29)(attribute2=This Is The Content Of Attribute\28Number 2\29)(attribute3=This Is The Content Of Attribute\28Number 3\29)(attribute4=This Is The Content Of Attribute\28Number 4\29)(attribute5=This Is The Content Of Attribute\28Number 5\29)(attribute6=This Is The Content Of Attribute\28Number 6\29)(attribute7=This Is The Content Of Attribute\28Number 7\29)(attribute8=This Is The Content Of Attribute\28Number 8\29)(attribute9=This Is The Content Of Attribute\28Number 9\29)(attribute10=This Is The Content Of Attribute\28Number 10\29)(attribute11=This Is The Content Of Attribute\28Number 11\29)(attribute12=This Is The Content Of Attribute\28Number 12\29)(attribute13=This Is The Content Of Attribute\28Number 13\29)(attribute14=This Is The Content Of Attribute\28Number 14\29)(attribute15=This Is The Content Of Attribute\28Number 15\29)(attribute16=This Is The Content Of Attribute\28Number 16\29)(attribute17=This Is The Content Of Attribute\28Number 17\29)(attribute18=This Is The Content Of Attribute\28Number 18\29)(attribute19=This Is The Content Of Attribute\28Number 19\29)(attribute20=This Is The Content Of Attribute\28Number 20\29)(attribute21=This Is The Content Of Attribute\28Number 21\29)(attribute22=This Is The Content Of Attribute\28Number 22\29)(attribute23=This Is The Content Of Attribute\28Number 23\29)(attribute24=This Is The Content Of Attribute\28Number 24\29)(attribute25=This Is The Content Of Attribute\28Number 25\29)(attribute26=This Is The Content Of Attribute\28Number 26\29)(attribute27=This Is The Content Of Attribute\28Number 27\29)(attribute28=This Is The Content Of Attribute\28Number 28\29)(attribute29=This Is The Content Of Attribute\28Number 29\29)(attribute30=This Is The Content Of Attribute\28Number 30\29)(attribute31=This Is The Content Of Attribute\28Number 31\29)(attribute32=This Is The Content Of Attribute\28Number 32\29)(attribute33=This Is The Content Of Attribute\28Number 33\29)(attribute34=This Is The Content Of Attribute\28Number 34\29)(attribute35=This Is The Content Of Attribute\28Number 35\29)(attribute36=This Is The Content Of Attribute\28Number 36\29)(attribute37=This Is The Content Of Attribute\28Number 37\29)(attribute38=This Is The Content Of Attribute\28Number 38\29)(attribute39=This Is The Content Of Attribute\28Number 39\29)(attribute40=This Is The Content Of Attribute\28Number 40\29)(attribute41=This Is The Content Of Attribute\28Number 41\29)(attribute42=This Is The Content Of Attribute\28Number 42\29)(attribute43=This Is The Content Of Attribute\28Number 43\29)(attribute44=This Is The Content Of Attribute\28Number 44\29)(attribute45=This Is The Content Of Attribute\28Number 45\29)(attribute46=This Is The Content Of Attribute\28Number 46\29)(attribute47=This Is The Content Of Attribute\28Number 47\29)(attribute48=This Is The Content Of Attribute\28Number 48\29)(attribute49=This Is The Content Of Attribute\28Number 49\29)(attribute50=This Is The Content Of Attribute\28Number 50\29)(attribute51=This Is The Content Of Attribute\28Number 51\29)(attribute52=This Is The Content Of Attribute\28Number 52\29)(attribute53=This Is The Content Of Attribute\28Number 53\29)(attribute54=This Is The Content Of Attribute\28Number 54\29)(attribute55=This Is The Content Of Attribute\28Number 55\29)(attribute56=This Is The Content Of Attribute\28Number 56\29)(attribute57=This Is The Content Of Attribute\28Number 57\29)(attribute58=This Is The Content Of Attribute\28Number 58\29)(attribute59=This Is The Content Of Attribute\28Number 59\29)(attribute60=This Is The Content Of Attribute\28Number 60\29)(attribute61=This Is The Content Of Attribute\28Number 61\29)(attribute62=This Is The Content Of Attribute\28Number 62\29)(attribute63=This Is The Content Of Attribute\28Number 63\29)(attribute64=This Is The Content Of Attribute\28Number 64\29)(attribute65=This Is The Content Of Attribute\28Number 65\29)(attribute66=This Is The Content Of Attribute\28Number 66\29)(attribute67=This Is The Content Of Attribute\28Number 67\29)(attribute68=This Is The Content Of Attribute\28Number 68\29)(attribute69=This Is The Content Of Attribute\28Number 69\29)(attribute70=This Is The Content Of Attribute\28Number 70\29)(attribute71=This Is The Content Of Attribute\28Number 71\29)(attribute72=This Is The Content Of Attribute\28Number 72\29)(attribute73=This Is The Content Of Attribute\28Number 73\29)(attribute74=This Is The Content Of Attribute\28Number 74\29)(attribute75=This Is The Content Of Attribute\28Number 75\29)(attribute76=This Is The Content Of Attribute\28Number 76\29)(attribute77=This Is The Content Of Attribute\28Number 77\29)(attribute78=This Is The Content Of Attribute\28Number 78\29)(attribute79=This Is The Content Of Attribute\28Number 79\29)(attribute80=This Is The Content Of Attribute\28Number 80\29)(attribute81=This Is The Content Of Attribute\28Number 81\29)(attribute82=This Is The Content Of Attribute\28Number 82\29)(attribute83=This Is The Content Of Attribute\28Number 83\29)(attribute84=This Is The Content Of Attribute\28Number 84\29)(attribute85=This Is The Content Of Attribute\28Number 85\29)(attribute86=This Is The Content Of Attribute\28Number 86\29)(attribute87=This Is The Content Of Attribute\28Number 87\29)(attribute88=This Is The Content Of Attribute\28Number 88\29)(attribute89=This Is The Content Of Attribute\28Number 89\29)(attribute90=This Is The Content Of Attribute\28Number 90\29)(attribute91=This Is The Content Of Attribute\28Number 91\29)(attribute92=This Is The Content Of Attribute\28Number 92\29)(attribute93=This Is The Content Of Attribute\28Number 93\29)(attribute94=This Is The Content Of Attribute\28Number 94\29)(attribute95=This Is The Content Of Attribute\28Number 95\29)(attribute96=This Is The Content Of Attribute\28Number 96\29)(attribute97=This Is The Content Of Attribute\28Number 97\29)(attribute98=This Is The Content Of Attribute\28Number 98\29)(attribute99=This Is The Content Of Attribute\28Number 99\29)(attribute100=This Is The Content Of Attribute\28Number 100\29)(attribute101=This Is The Content Of Attribute\28Number 101\29)(attribute102=This Is The Content Of Attribute\28Number 102\29)(attribute103=This Is The Content Of Attribute\28Number 103\29)(attribute104=This Is The Content Of Attribute\28Number 104\29)(attribute105=This Is The Content Of Attribute\28Number 105\29)(attribute106=This Is The Content Of Attribute\28Number 106\29)(attribute107=This Is The Content Of Attribute\28Number 107\29)(attribute108=This Is The Content Of Attribute\28Number 108\29)(attribute109=This Is The Content Of Attribute\28Number 109\29)(attribute110=This Is The Content Of Attribute\28Number 110\29)(attribute111=This Is The Content Of Attribute\28Number 111\29)(attribute112=This Is The Content Of Attribute\28Number 112\29)(attribute113=This Is The Content Of Attribute\28Number 113\29)(attribute114=This Is The Content Of Attribute\28Number 114\29)(attribute115=This Is The Content Of Attribute\28Number 115\29)(attribute116=This Is The Content Of Attribute\28Number 116\29)(attribute117=This Is The Content Of Attribute\28Number 117\29)(attribute118=This Is The Content Of Attribute\28Number 118\29)(attribute119=This Is The Content Of Attribute\28Number 119\29)(attribute120=This Is The Content Of Attribute\28Number 120\29)(attribute121=This Is The Content Of Attribute\28Number 121\29)(attribute122=This Is The Content Of Attribute\28Number 122\29)(attribute123=This Is The Content Of Attribute\28Number 123\29)(attribute124=This Is The Content Of Attribute\28Number 124\29)(attribute125=This Is The Content Of Attribute\28Number 125\29)(attribute126=This Is The Content Of Attribute\28Number 126\29)(attribute127=This Is The Content Of Attribute\28Number 127\29)(attribute128=This Is The Content Of Attribute\28Number 128\29)(attribute129=This Is The Content Of Attribute\28Number 129\29)(attribute130=This Is The Content Of Attribute\28Number 130\29)
mod cmd FLASHDIR0 add-item 102 (cn=Test-Long)(attribute131=This Is The Content Of Attribute\28Number 131\29)(attribute132=This Is The Content Of Attribute\28Number 132\29)(attribute133=This Is The Content Of Attribute\28Number 133\29)(guid;bin=C669F720E909D311AF0F000C297EF725)(usn=653636)

Summary:Single configuration lines breaking through the 8K character barrier, will be split and dumped as two consequtive lines.

  • The 1st line features the preamble mod cmd FLASHDIR0 start-item <id> (cn=..)
  • The 2nd line features the preamble mod cmd FLASHDIR0 add-item <id> (cn=..)
    • This 2nd line format is identical and compatible with firmware versions prior to this fix

Please note, this fix doesn't allow for arbitrarily large flash directory objects. Those are still constrained by an internal limit(currently 8K). This fix just helps where an object's representation within the configuration file expands beyond the 8K barrier.

[edit] Troubleshooting

[edit] cn=PBX0 is not a slave

If you get the above mentioned error, there is probably one user object which exceeds the limit.

[edit] Related Articles

Personal tools