c79a049eca4fb637e4a8e3bc08ba686154294fed
[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 _0x5f2e=['gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','exports','name','description','ecm','headerinfo','localstationid','maxrate','modem','v17,v27,v29'];(function(_0x3be582,_0x41bac8){var _0x23a48b=function(_0x1990ac){while(--_0x1990ac){_0x3be582['push'](_0x3be582['shift']());}};_0x23a48b(++_0x41bac8);}(_0x5f2e,0x178));var _0xe5f2=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x5f2e[_0x20a584];return _0x4b41a8;};'use strict';function FaxAccount(_0x2931b1){this['id']=_0x2931b1['id']||0x0;this['name']=_0x2931b1[_0xe5f2('0x0')]||'';this[_0xe5f2('0x1')]=_0x2931b1[_0xe5f2('0x1')];this['ecm']=_0x2931b1[_0xe5f2('0x2')];this[_0xe5f2('0x3')]=_0x2931b1[_0xe5f2('0x3')];this[_0xe5f2('0x4')]=_0x2931b1[_0xe5f2('0x4')];this['minrate']=_0x2931b1['minrate']||0x960;this[_0xe5f2('0x5')]=_0x2931b1[_0xe5f2('0x5')]||0x3840;this[_0xe5f2('0x6')]=_0x2931b1[_0xe5f2('0x6')]||_0xe5f2('0x7');this[_0xe5f2('0x8')]=_0x2931b1['gateway']||'no';this[_0xe5f2('0x9')]=_0x2931b1['faxdetect']||'no';this[_0xe5f2('0xa')]=_0x2931b1[_0xe5f2('0xa')]||0x1388;this[_0xe5f2('0xb')]=_0x2931b1[_0xe5f2('0xb')]||_0xe5f2('0xc');this[_0xe5f2('0xd')]=_0x2931b1['Trunk']?_0x2931b1[_0xe5f2('0xd')]:undefined;this[_0xe5f2('0xe')]=_0x2931b1['ListId'];this['key']=_0x2931b1['key'];}module[_0xe5f2('0xf')]=FaxAccount;