280b8ad800d3aa4da5eb7739703b0af4e37ee68f
[motion2.git] / server / services / ami / model / faxAccount.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x928b=['v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','headerinfo','localstationid','minrate','maxrate','modem'];(function(_0x2a5538,_0x3e138e){var _0x588b7d=function(_0x5cfe7f){while(--_0x5cfe7f){_0x2a5538['push'](_0x2a5538['shift']());}};_0x588b7d(++_0x3e138e);}(_0x928b,0xd6));var _0xb928=function(_0x1e771c,_0x472345){_0x1e771c=_0x1e771c-0x0;var _0x3801a3=_0x928b[_0x1e771c];return _0x3801a3;};'use strict';function FaxAccount(_0x5c8986){this['id']=_0x5c8986['id']||0x0;this[_0xb928('0x0')]=_0x5c8986['name']||'';this['description']=_0x5c8986[_0xb928('0x1')];this['ecm']=_0x5c8986['ecm'];this[_0xb928('0x2')]=_0x5c8986[_0xb928('0x2')];this[_0xb928('0x3')]=_0x5c8986['localstationid'];this['minrate']=_0x5c8986[_0xb928('0x4')]||0x960;this[_0xb928('0x5')]=_0x5c8986['maxrate']||0x3840;this[_0xb928('0x6')]=_0x5c8986[_0xb928('0x6')]||_0xb928('0x7');this[_0xb928('0x8')]=_0x5c8986[_0xb928('0x8')]||'no';this['faxdetect']=_0x5c8986[_0xb928('0x9')]||'no';this[_0xb928('0xa')]=_0x5c8986[_0xb928('0xa')]||0x1388;this[_0xb928('0xb')]=_0x5c8986[_0xb928('0xb')]||_0xb928('0xc');this[_0xb928('0xd')]=_0x5c8986[_0xb928('0xd')]?_0x5c8986[_0xb928('0xd')]:undefined;this[_0xb928('0xe')]=_0x5c8986[_0xb928('0xe')];this[_0xb928('0xf')]=_0x5c8986[_0xb928('0xf')];}module[_0xb928('0x10')]=FaxAccount;