esl-lite
    Preparing search index...

    Class Body

    Storage for an event's body.

    Some specialized fields are automatically captured.

    Index

    Constructors

    • Record a body at once and parse specific field

      Parameters

      Returns Body

    Properties

    applicationUUID: string | undefined

    Application-UUID field, if present

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

    Event-Name field, if present

    jobUUID: string | undefined

    Job-UUID field, if present

    response: JSONValue | undefined

    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: string | undefined

    Unique-ID field, if present

    Methods

    • Record a single body field and parse it

      Parameters

      • name: string
      • value: string

      Returns void