# Path: app/models.py
# class ResponseLog(models.Model):
#     """
#     Model for logging info about the device response.
#     """
#     platform = models.CharField(choices=PLATFORM_CHOICES, max_length=10)
#     roundtrip_time = models.FloatField()
#     available = models.BooleanField()
#     date = models.DateTimeField(auto_now_add=True)


import logging
from django.db.models import Avg, Max, Min
from logentries import LogentriesHandler
from .models import ResponseLog




LOG_SIP_USER_ID = 'sip_user_id'
LOG_CALLER_ID = 'caller_id'
LOG_CALL_TO = 'call_to'
LOG_CALL_FROM = 'call_from'

# Path: app/models.py
# class ResponseLog(models.Model):
#     """
#     Model for logging info about the device response.
#     """
#     platform = models.CharField(choices=PLATFORM_CHOICES, max_length=10)
#     roundtrip_time = models.FloatField()
#     available = models.BooleanField()
#     date = models.DateTimeField(auto_now_add=True)


# Path: app/utils.py
import logging
from django.db.models import Avg, Max, Min
from logentries import LogentriesHandler
from .models import ResponseLog





LOG_SIP_USER_ID = 'sip_user_id'
LOG_CALLER_ID = 'caller_id'
LOG_CALL_TO = 'call_to'
LOG_CALL_FROM = 'call_from'

LOG_CONTACT = 'contact'