a9bc3af3a93b6490e2228b8e3a6984babdbfd593
[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 _0x6717=['headerinfo','localstationid','minrate','v17,v27,v29','gateway','faxdetect','tech','SIP','Trunk','ListId','key','exports','name','description','ecm'];(function(_0xecd6,_0xe0fb9f){var _0x86b3d6=function(_0x116f2a){while(--_0x116f2a){_0xecd6['push'](_0xecd6['shift']());}};_0x86b3d6(++_0xe0fb9f);}(_0x6717,0x1a1));var _0x7671=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6717[_0x3dd15e];return _0x231fd0;};'use strict';function FaxAccount(_0x1c3a1c){this['id']=_0x1c3a1c['id']||0x0;this[_0x7671('0x0')]=_0x1c3a1c['name']||'';this[_0x7671('0x1')]=_0x1c3a1c[_0x7671('0x1')];this[_0x7671('0x2')]=_0x1c3a1c[_0x7671('0x2')];this[_0x7671('0x3')]=_0x1c3a1c['headerinfo'];this['localstationid']=_0x1c3a1c[_0x7671('0x4')];this[_0x7671('0x5')]=_0x1c3a1c[_0x7671('0x5')]||0x960;this['maxrate']=_0x1c3a1c['maxrate']||0x3840;this['modem']=_0x1c3a1c['modem']||_0x7671('0x6');this[_0x7671('0x7')]=_0x1c3a1c[_0x7671('0x7')]||'no';this[_0x7671('0x8')]=_0x1c3a1c[_0x7671('0x8')]||'no';this['t38timeout']=_0x1c3a1c['t38timeout']||0x1388;this[_0x7671('0x9')]=_0x1c3a1c[_0x7671('0x9')]||_0x7671('0xa');this[_0x7671('0xb')]=_0x1c3a1c[_0x7671('0xb')]?_0x1c3a1c[_0x7671('0xb')]:undefined;this[_0x7671('0xc')]=_0x1c3a1c[_0x7671('0xc')];this[_0x7671('0xd')]=_0x1c3a1c[_0x7671('0xd')];}module[_0x7671('0xe')]=FaxAccount;