f915bdc58e178ffb72419a7d3ac5e3174991bd82
[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 _0x591c=['ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','name','description'];(function(_0x32f9e6,_0x55ed80){var _0x11a5ea=function(_0x1862ab){while(--_0x1862ab){_0x32f9e6['push'](_0x32f9e6['shift']());}};_0x11a5ea(++_0x55ed80);}(_0x591c,0x141));var _0xc591=function(_0x550326,_0x155be3){_0x550326=_0x550326-0x0;var _0x3c09df=_0x591c[_0x550326];return _0x3c09df;};'use strict';function FaxAccount(_0x112df4){this['id']=_0x112df4['id']||0x0;this['name']=_0x112df4[_0xc591('0x0')]||'';this['description']=_0x112df4[_0xc591('0x1')];this['ecm']=_0x112df4[_0xc591('0x2')];this[_0xc591('0x3')]=_0x112df4['headerinfo'];this[_0xc591('0x4')]=_0x112df4[_0xc591('0x4')];this[_0xc591('0x5')]=_0x112df4['minrate']||0x960;this[_0xc591('0x6')]=_0x112df4[_0xc591('0x6')]||0x3840;this['modem']=_0x112df4[_0xc591('0x7')]||_0xc591('0x8');this[_0xc591('0x9')]=_0x112df4[_0xc591('0x9')]||'no';this[_0xc591('0xa')]=_0x112df4[_0xc591('0xa')]||'no';this[_0xc591('0xb')]=_0x112df4[_0xc591('0xb')]||0x1388;this[_0xc591('0xc')]=_0x112df4['tech']||_0xc591('0xd');this[_0xc591('0xe')]=_0x112df4['Trunk']?_0x112df4['Trunk']:undefined;this[_0xc591('0xf')]=_0x112df4[_0xc591('0xf')];this['key']=_0x112df4[_0xc591('0x10')];}module['exports']=FaxAccount;