Function parsePeerCallRecord

  • Parameters

    • value: unknown

    Returns {
        answeredAt?: string;
        calleeId: string;
        callerId: string;
        callId: string;
        createdAt: string;
        endedAt?: string;
        endReason?:
            | "error"
            | "hangup"
            | "decline"
            | "timeout"
            | "insufficient_funds";
        sid: string;
        status:
            | "ringing"
            | "active"
            | "ended"
            | "declined"
            | "missed"
            | "failed";
    }

    • OptionalansweredAt?: string
    • calleeId: string
    • callerId: string
    • callId: string
    • createdAt: string
    • OptionalendedAt?: string
    • OptionalendReason?:
          | "error"
          | "hangup"
          | "decline"
          | "timeout"
          | "insufficient_funds"
    • sid: string
    • status:
          | "ringing"
          | "active"
          | "ended"
          | "declined"
          | "missed"
          | "failed"