44b8c4d5f2e6bc4546a6f496b52b578da53e04d4
[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 _0x916d=['headerinfo','localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','Trunk','ListId','key','exports','name','description','ecm'];(function(_0x4d7a70,_0x2d3bfa){var _0x3aafbb=function(_0x43fbf2){while(--_0x43fbf2){_0x4d7a70['push'](_0x4d7a70['shift']());}};_0x3aafbb(++_0x2d3bfa);}(_0x916d,0x11d));var _0xd916=function(_0x133d5a,_0x582c24){_0x133d5a=_0x133d5a-0x0;var _0x729c38=_0x916d[_0x133d5a];return _0x729c38;};'use strict';function FaxAccount(_0x462bff){this['id']=_0x462bff['id']||0x0;this[_0xd916('0x0')]=_0x462bff['name']||'';this[_0xd916('0x1')]=_0x462bff[_0xd916('0x1')];this[_0xd916('0x2')]=_0x462bff[_0xd916('0x2')];this['headerinfo']=_0x462bff[_0xd916('0x3')];this['localstationid']=_0x462bff[_0xd916('0x4')];this['minrate']=_0x462bff[_0xd916('0x5')]||0x960;this[_0xd916('0x6')]=_0x462bff[_0xd916('0x6')]||0x3840;this['modem']=_0x462bff[_0xd916('0x7')]||'v17,v27,v29';this[_0xd916('0x8')]=_0x462bff[_0xd916('0x8')]||'no';this[_0xd916('0x9')]=_0x462bff[_0xd916('0x9')]||'no';this[_0xd916('0xa')]=_0x462bff[_0xd916('0xa')]||0x1388;this[_0xd916('0xb')]=_0x462bff[_0xd916('0xb')]||'SIP';this[_0xd916('0xc')]=_0x462bff[_0xd916('0xc')]?_0x462bff[_0xd916('0xc')]:undefined;this[_0xd916('0xd')]=_0x462bff[_0xd916('0xd')];this[_0xd916('0xe')]=_0x462bff[_0xd916('0xe')];}module[_0xd916('0xf')]=FaxAccount;