Storage for an event's body.

Some specialized fields are automatically captured.

Constructors

  • Record a body at once and parse specific field

    Parameters

    Returns Body

Properties

applicationUUID: undefined | string

Application-UUID field, if present

data: Record<string, JSONValue>
eventName: undefined | string

Event-Name field, if present

jobUUID: undefined | string

Job-UUID field, if present

response: undefined | JSONValue

If present, indicates that the value returned by FreeSwitch was not an object. Most probably, this is the content of the raw buffer received, converted to a string.

uniqueID: undefined | string

Unique-ID field, if present

Methods

  • Record a single body field and parse it

    Parameters

    • name: string
    • value: string

    Returns void