Built motion from commit (unavailable).|2.5.30
[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 _0x92f2=['ecm','headerinfo','localstationid','minrate','maxrate','modem','gateway','faxdetect','tech','SIP','Trunk','ListId','key','exports','name','description'];(function(_0x545f74,_0x58a6bf){var _0x4f7cd7=function(_0x5ce646){while(--_0x5ce646){_0x545f74['push'](_0x545f74['shift']());}};_0x4f7cd7(++_0x58a6bf);}(_0x92f2,0x15e));var _0x292f=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x92f2[_0x5ddb1c];return _0x354adc;};'use strict';function FaxAccount(_0x32072c){this['id']=_0x32072c['id']||0x0;this[_0x292f('0x0')]=_0x32072c['name']||'';this[_0x292f('0x1')]=_0x32072c[_0x292f('0x1')];this[_0x292f('0x2')]=_0x32072c[_0x292f('0x2')];this[_0x292f('0x3')]=_0x32072c['headerinfo'];this[_0x292f('0x4')]=_0x32072c[_0x292f('0x4')];this[_0x292f('0x5')]=_0x32072c['minrate']||0x960;this[_0x292f('0x6')]=_0x32072c[_0x292f('0x6')]||0x3840;this[_0x292f('0x7')]=_0x32072c[_0x292f('0x7')]||'v17,v27,v29';this['gateway']=_0x32072c[_0x292f('0x8')]||'no';this[_0x292f('0x9')]=_0x32072c['faxdetect']||'no';this['t38timeout']=_0x32072c['t38timeout']||0x1388;this[_0x292f('0xa')]=_0x32072c['tech']||_0x292f('0xb');this['Trunk']=_0x32072c[_0x292f('0xc')]?_0x32072c[_0x292f('0xc')]:undefined;this[_0x292f('0xd')]=_0x32072c[_0x292f('0xd')];this[_0x292f('0xe')]=_0x32072c[_0x292f('0xe')];}module[_0x292f('0xf')]=FaxAccount;