f6ea298e6ba52ac3a1fc1a96763d48e96ff6aeff
[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 _0x8a4a=['localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8a4a,0x10c));var _0xa8a4=function(_0x1619c1,_0x21b9fd){_0x1619c1=_0x1619c1-0x0;var _0x424d3f=_0x8a4a[_0x1619c1];return _0x424d3f;};'use strict';function FaxAccount(_0x53165e){this['id']=_0x53165e['id']||0x0;this[_0xa8a4('0x0')]=_0x53165e[_0xa8a4('0x0')]||'';this[_0xa8a4('0x1')]=_0x53165e[_0xa8a4('0x1')];this[_0xa8a4('0x2')]=_0x53165e['ecm'];this[_0xa8a4('0x3')]=_0x53165e[_0xa8a4('0x3')];this[_0xa8a4('0x4')]=_0x53165e[_0xa8a4('0x4')];this['minrate']=_0x53165e[_0xa8a4('0x5')]||0x960;this[_0xa8a4('0x6')]=_0x53165e['maxrate']||0x3840;this[_0xa8a4('0x7')]=_0x53165e[_0xa8a4('0x7')]||'v17,v27,v29';this[_0xa8a4('0x8')]=_0x53165e['gateway']||'no';this[_0xa8a4('0x9')]=_0x53165e['faxdetect']||'no';this[_0xa8a4('0xa')]=_0x53165e['t38timeout']||0x1388;this[_0xa8a4('0xb')]=_0x53165e[_0xa8a4('0xb')]||_0xa8a4('0xc');this[_0xa8a4('0xd')]=_0x53165e[_0xa8a4('0xd')]?_0x53165e['Trunk']:undefined;this[_0xa8a4('0xe')]=_0x53165e[_0xa8a4('0xe')];this[_0xa8a4('0xf')]=_0x53165e[_0xa8a4('0xf')];}module[_0xa8a4('0x10')]=FaxAccount;