ff0936b79593d8527014d18e5e23bbe7d3a7c696
[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 _0xbc71=['tech','SIP','Trunk','ListId','key','exports','name','description','ecm','localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout'];(function(_0x53faf8,_0x27b875){var _0x122e46=function(_0x106e6a){while(--_0x106e6a){_0x53faf8['push'](_0x53faf8['shift']());}};_0x122e46(++_0x27b875);}(_0xbc71,0x86));var _0x1bc7=function(_0x273c39,_0x1052e6){_0x273c39=_0x273c39-0x0;var _0x46d6b5=_0xbc71[_0x273c39];return _0x46d6b5;};'use strict';function FaxAccount(_0x5a7aa6){this['id']=_0x5a7aa6['id']||0x0;this['name']=_0x5a7aa6[_0x1bc7('0x0')]||'';this['description']=_0x5a7aa6[_0x1bc7('0x1')];this['ecm']=_0x5a7aa6[_0x1bc7('0x2')];this['headerinfo']=_0x5a7aa6['headerinfo'];this[_0x1bc7('0x3')]=_0x5a7aa6[_0x1bc7('0x3')];this[_0x1bc7('0x4')]=_0x5a7aa6['minrate']||0x960;this[_0x1bc7('0x5')]=_0x5a7aa6[_0x1bc7('0x5')]||0x3840;this[_0x1bc7('0x6')]=_0x5a7aa6[_0x1bc7('0x6')]||'v17,v27,v29';this[_0x1bc7('0x7')]=_0x5a7aa6['gateway']||'no';this[_0x1bc7('0x8')]=_0x5a7aa6['faxdetect']||'no';this[_0x1bc7('0x9')]=_0x5a7aa6[_0x1bc7('0x9')]||0x1388;this['tech']=_0x5a7aa6[_0x1bc7('0xa')]||_0x1bc7('0xb');this[_0x1bc7('0xc')]=_0x5a7aa6[_0x1bc7('0xc')]?_0x5a7aa6['Trunk']:undefined;this[_0x1bc7('0xd')]=_0x5a7aa6[_0x1bc7('0xd')];this['key']=_0x5a7aa6[_0x1bc7('0xe')];}module[_0x1bc7('0xf')]=FaxAccount;