8a546f9eaea2d269745a019e7ef7cf051f48fd1c
[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 _0x7725=['ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name'];(function(_0x3725db,_0x125cc2){var _0x6cc30b=function(_0x4f4130){while(--_0x4f4130){_0x3725db['push'](_0x3725db['shift']());}};_0x6cc30b(++_0x125cc2);}(_0x7725,0x65));var _0x5772=function(_0x39cc8f,_0xb60cd8){_0x39cc8f=_0x39cc8f-0x0;var _0x15e616=_0x7725[_0x39cc8f];return _0x15e616;};'use strict';function FaxAccount(_0x2c2f58){this['id']=_0x2c2f58['id']||0x0;this[_0x5772('0x0')]=_0x2c2f58['name']||'';this['description']=_0x2c2f58['description'];this[_0x5772('0x1')]=_0x2c2f58[_0x5772('0x1')];this[_0x5772('0x2')]=_0x2c2f58[_0x5772('0x2')];this['localstationid']=_0x2c2f58[_0x5772('0x3')];this[_0x5772('0x4')]=_0x2c2f58['minrate']||0x960;this['maxrate']=_0x2c2f58[_0x5772('0x5')]||0x3840;this[_0x5772('0x6')]=_0x2c2f58[_0x5772('0x6')]||_0x5772('0x7');this['gateway']=_0x2c2f58[_0x5772('0x8')]||'no';this[_0x5772('0x9')]=_0x2c2f58['faxdetect']||'no';this[_0x5772('0xa')]=_0x2c2f58[_0x5772('0xa')]||0x1388;this[_0x5772('0xb')]=_0x2c2f58[_0x5772('0xb')]||_0x5772('0xc');this[_0x5772('0xd')]=_0x2c2f58[_0x5772('0xd')]?_0x2c2f58[_0x5772('0xd')]:undefined;this['ListId']=_0x2c2f58[_0x5772('0xe')];this[_0x5772('0xf')]=_0x2c2f58[_0x5772('0xf')];}module[_0x5772('0x10')]=FaxAccount;