2013-10-15 15:15:25 -04:00
|
|
|
/*global app, me, client*/
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
var _ = require('underscore');
|
|
|
|
var HumanModel = require('human-model');
|
|
|
|
var logger = require('andlog');
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = HumanModel.define({
|
|
|
|
type: 'call',
|
|
|
|
session: {
|
2013-10-15 19:21:22 -04:00
|
|
|
contact: 'object',
|
2013-10-15 15:15:25 -04:00
|
|
|
jingleSession: 'object',
|
|
|
|
state: ['string', true, 'inactive'],
|
|
|
|
multiUser: ['boolean', true, false]
|
|
|
|
}
|
|
|
|
});
|