|
@@ -450,6 +450,8 @@ class CallRecord(db.Model):
|
|
times = db.Column(db.String(30), nullable=True, comment='通话时长(暂时按字符串接收)')
|
|
times = db.Column(db.String(30), nullable=True, comment='通话时长(暂时按字符串接收)')
|
|
category = db.Column(db.SmallInteger, nullable=True, comment='通话类型(0呼入 1呼出)')
|
|
category = db.Column(db.SmallInteger, nullable=True, comment='通话类型(0呼入 1呼出)')
|
|
status = db.Column(db.SmallInteger, nullable=True, comment='通话状态(0未接听 1已接通)')
|
|
status = db.Column(db.SmallInteger, nullable=True, comment='通话状态(0未接听 1已接通)')
|
|
|
|
+ sip_status = db.Column(db.String(32), nullable=True, comment='sip码')
|
|
|
|
+ sip_hangup_cause = db.Column(db.String(32), nullable=True, comment='sip挂机描述')
|
|
phone = db.Column(db.String(20), nullable=True, comment='电话号码')
|
|
phone = db.Column(db.String(20), nullable=True, comment='电话号码')
|
|
bussiness_type = db.Column(db.String(50), nullable=True, comment='业务类型(创个返回字符串)')
|
|
bussiness_type = db.Column(db.String(50), nullable=True, comment='业务类型(创个返回字符串)')
|
|
url = db.Column(db.String(255), nullable=True, comment='录音的地址')
|
|
url = db.Column(db.String(255), nullable=True, comment='录音的地址')
|
|
@@ -458,6 +460,7 @@ class CallRecord(db.Model):
|
|
parsed_voice_content = db.Column(db.Text, nullable=True, comment='通话录音内容')
|
|
parsed_voice_content = db.Column(db.Text, nullable=True, comment='通话录音内容')
|
|
del_flag = db.Column(db.SmallInteger, nullable=False, default=0, comment='删除标志(0代表存在 2代表删除)')
|
|
del_flag = db.Column(db.SmallInteger, nullable=False, default=0, comment='删除标志(0代表存在 2代表删除)')
|
|
revision = db.Column(db.Integer, nullable=True, comment='乐观锁')
|
|
revision = db.Column(db.Integer, nullable=True, comment='乐观锁')
|
|
|
|
+
|
|
create_by = db.Column(db.String(32), nullable=True, default="admin", comment='创建人')
|
|
create_by = db.Column(db.String(32), nullable=True, default="admin", comment='创建人')
|
|
create_time = db.Column(db.DateTime, nullable=True, default=datetime.now, comment='创建时间')
|
|
create_time = db.Column(db.DateTime, nullable=True, default=datetime.now, comment='创建时间')
|
|
update_by = db.Column(db.String(32), nullable=True, default="admin", comment='更新人')
|
|
update_by = db.Column(db.String(32), nullable=True, default="admin", comment='更新人')
|