601b45d048b4b90f03719df23ab3151cff42fe38
[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 _0x129a=['faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway'];(function(_0x2aa87a,_0x4a251d){var _0x5b869b=function(_0x3e6c83){while(--_0x3e6c83){_0x2aa87a['push'](_0x2aa87a['shift']());}};_0x5b869b(++_0x4a251d);}(_0x129a,0x87));var _0xa129=function(_0x14e63a,_0x1e892d){_0x14e63a=_0x14e63a-0x0;var _0x53ac75=_0x129a[_0x14e63a];return _0x53ac75;};'use strict';function FaxAccount(_0x3c9545){this['id']=_0x3c9545['id']||0x0;this['name']=_0x3c9545['name']||'';this[_0xa129('0x0')]=_0x3c9545[_0xa129('0x0')];this[_0xa129('0x1')]=_0x3c9545['ecm'];this[_0xa129('0x2')]=_0x3c9545[_0xa129('0x2')];this[_0xa129('0x3')]=_0x3c9545['localstationid'];this[_0xa129('0x4')]=_0x3c9545[_0xa129('0x4')]||0x960;this[_0xa129('0x5')]=_0x3c9545[_0xa129('0x5')]||0x3840;this[_0xa129('0x6')]=_0x3c9545[_0xa129('0x6')]||_0xa129('0x7');this[_0xa129('0x8')]=_0x3c9545['gateway']||'no';this['faxdetect']=_0x3c9545[_0xa129('0x9')]||'no';this[_0xa129('0xa')]=_0x3c9545[_0xa129('0xa')]||0x1388;this[_0xa129('0xb')]=_0x3c9545[_0xa129('0xb')]||_0xa129('0xc');this[_0xa129('0xd')]=_0x3c9545['Trunk']?_0x3c9545[_0xa129('0xd')]:undefined;this[_0xa129('0xe')]=_0x3c9545[_0xa129('0xe')];this[_0xa129('0xf')]=_0x3c9545[_0xa129('0xf')];}module['exports']=FaxAccount;