14aa69530dcacf9a7bfbc2fa4958fd2b3b29da72
[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 _0xfa9f=['tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xfa9f,0xde));var _0xffa9=function(_0x21b706,_0x1022f4){_0x21b706=_0x21b706-0x0;var _0x13b94a=_0xfa9f[_0x21b706];return _0x13b94a;};'use strict';function FaxAccount(_0x7f11c7){this['id']=_0x7f11c7['id']||0x0;this[_0xffa9('0x0')]=_0x7f11c7[_0xffa9('0x0')]||'';this[_0xffa9('0x1')]=_0x7f11c7[_0xffa9('0x1')];this[_0xffa9('0x2')]=_0x7f11c7['ecm'];this[_0xffa9('0x3')]=_0x7f11c7[_0xffa9('0x3')];this['localstationid']=_0x7f11c7[_0xffa9('0x4')];this[_0xffa9('0x5')]=_0x7f11c7[_0xffa9('0x5')]||0x960;this[_0xffa9('0x6')]=_0x7f11c7['maxrate']||0x3840;this[_0xffa9('0x7')]=_0x7f11c7[_0xffa9('0x7')]||_0xffa9('0x8');this[_0xffa9('0x9')]=_0x7f11c7[_0xffa9('0x9')]||'no';this[_0xffa9('0xa')]=_0x7f11c7['faxdetect']||'no';this[_0xffa9('0xb')]=_0x7f11c7[_0xffa9('0xb')]||0x1388;this['tech']=_0x7f11c7[_0xffa9('0xc')]||_0xffa9('0xd');this[_0xffa9('0xe')]=_0x7f11c7[_0xffa9('0xe')]?_0x7f11c7[_0xffa9('0xe')]:undefined;this[_0xffa9('0xf')]=_0x7f11c7[_0xffa9('0xf')];this[_0xffa9('0x10')]=_0x7f11c7[_0xffa9('0x10')];}module[_0xffa9('0x11')]=FaxAccount;