45685cf5a02b61c46312100fe96bdd2c525ffb72
[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 _0xd1ac=['localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','Trunk','ListId','key','exports','name','description','ecm','headerinfo'];(function(_0x35c300,_0x284351){var _0x59e44b=function(_0x327e5c){while(--_0x327e5c){_0x35c300['push'](_0x35c300['shift']());}};_0x59e44b(++_0x284351);}(_0xd1ac,0x1a5));var _0xcd1a=function(_0x5c804e,_0x583316){_0x5c804e=_0x5c804e-0x0;var _0x317514=_0xd1ac[_0x5c804e];return _0x317514;};'use strict';function FaxAccount(_0x54dc04){this['id']=_0x54dc04['id']||0x0;this[_0xcd1a('0x0')]=_0x54dc04[_0xcd1a('0x0')]||'';this[_0xcd1a('0x1')]=_0x54dc04['description'];this[_0xcd1a('0x2')]=_0x54dc04['ecm'];this[_0xcd1a('0x3')]=_0x54dc04[_0xcd1a('0x3')];this[_0xcd1a('0x4')]=_0x54dc04[_0xcd1a('0x4')];this[_0xcd1a('0x5')]=_0x54dc04[_0xcd1a('0x5')]||0x960;this[_0xcd1a('0x6')]=_0x54dc04[_0xcd1a('0x6')]||0x3840;this['modem']=_0x54dc04[_0xcd1a('0x7')]||_0xcd1a('0x8');this[_0xcd1a('0x9')]=_0x54dc04[_0xcd1a('0x9')]||'no';this[_0xcd1a('0xa')]=_0x54dc04[_0xcd1a('0xa')]||'no';this[_0xcd1a('0xb')]=_0x54dc04['t38timeout']||0x1388;this['tech']=_0x54dc04[_0xcd1a('0xc')]||'SIP';this[_0xcd1a('0xd')]=_0x54dc04['Trunk']?_0x54dc04[_0xcd1a('0xd')]:undefined;this[_0xcd1a('0xe')]=_0x54dc04[_0xcd1a('0xe')];this[_0xcd1a('0xf')]=_0x54dc04['key'];}module[_0xcd1a('0x10')]=FaxAccount;