4429559728c010de53df76704fe758e24a7ae866
[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 _0xb100=['t38timeout','tech','SIP','Trunk','ListId','name','description','ecm','headerinfo','localstationid','maxrate','modem','v17,v27,v29','faxdetect'];(function(_0x9d0bf6,_0x157fa8){var _0x5d4212=function(_0x334079){while(--_0x334079){_0x9d0bf6['push'](_0x9d0bf6['shift']());}};_0x5d4212(++_0x157fa8);}(_0xb100,0x75));var _0x0b10=function(_0x53e7cb,_0x2d5c30){_0x53e7cb=_0x53e7cb-0x0;var _0x1327b1=_0xb100[_0x53e7cb];return _0x1327b1;};'use strict';function FaxAccount(_0x34eadd){this['id']=_0x34eadd['id']||0x0;this[_0x0b10('0x0')]=_0x34eadd['name']||'';this['description']=_0x34eadd[_0x0b10('0x1')];this['ecm']=_0x34eadd[_0x0b10('0x2')];this[_0x0b10('0x3')]=_0x34eadd[_0x0b10('0x3')];this[_0x0b10('0x4')]=_0x34eadd[_0x0b10('0x4')];this['minrate']=_0x34eadd['minrate']||0x960;this[_0x0b10('0x5')]=_0x34eadd[_0x0b10('0x5')]||0x3840;this[_0x0b10('0x6')]=_0x34eadd[_0x0b10('0x6')]||_0x0b10('0x7');this['gateway']=_0x34eadd['gateway']||'no';this[_0x0b10('0x8')]=_0x34eadd[_0x0b10('0x8')]||'no';this[_0x0b10('0x9')]=_0x34eadd['t38timeout']||0x1388;this['tech']=_0x34eadd[_0x0b10('0xa')]||_0x0b10('0xb');this['Trunk']=_0x34eadd['Trunk']?_0x34eadd[_0x0b10('0xc')]:undefined;this[_0x0b10('0xd')]=_0x34eadd[_0x0b10('0xd')];this['key']=_0x34eadd['key'];}module['exports']=FaxAccount;