Maintaining Synchronization by Auditing Terminations
You can use the AuditValue command in H.248 messages to maintain synchronization between the BGF and the gateway controller. The AuditValue command requests the current values of a descriptor or of a single property, event, signal, or statistic associated with terminations and contexts. You can include selection criteria in the AuditValue command to filter the returned values.
The software supports the following characters for audit selection criteria:
- equal to (=)
- not equal to (#)
- less than (<)
- greater than (>)
This topic covers:
Using AND/OR Logic with Audit Commands
You can include multiple criteria with an AND or an OR logic operation (ANDLgc, ORLgc) to indicate how the selection criteria are interpreted. If you do not include a logic operation, AND logic operation is applied.
Example: Audit Section Filter with AND Logic
Create an audit selection filter for contexts and terminations that have the saf property set to on AND the spr property set to less than 4075.
Transaction = 201 {
Context = * {
ContextAudit {
ANDLgc
},
AuditValue = * {
Audit {
Media {
LocalControl {
gm/saf=on,
gm/spr<4075,
}
}
}
}
}
}
The result of this audit is a list of terminations that have the saf property set to on and the spr property set to less than 4075.
Example: Audit Section Filter with OR Logic
Create an audit selection filter for contexts and terminations that have the spf property set to on OR the sam property set to 10.10.0.3.
Transaction = 202 {
Context = * {
ContextAudit {
ORLgc
},
AuditValue = * {
Audit {
Media {
LocalControl {
gm/spf=on,
gm/sam=10.10.0.3,
}
}
}
}
}
}
The result of this audit is a list of terminations that have the spf property set to on or the sam property set to 10.10.0.3.
