2dc5931436526c433647c63732ec0d84af4062de
[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 _0xda62=['key','exports','description','ecm','headerinfo','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId'];(function(_0x4b3f3e,_0x47dfcc){var _0x921fc3=function(_0x3e4b3b){while(--_0x3e4b3b){_0x4b3f3e['push'](_0x4b3f3e['shift']());}};_0x921fc3(++_0x47dfcc);}(_0xda62,0x1a6));var _0x2da6=function(_0x5c1779,_0x2cee0c){_0x5c1779=_0x5c1779-0x0;var _0x236997=_0xda62[_0x5c1779];return _0x236997;};'use strict';function FaxAccount(_0x164763){this['id']=_0x164763['id']||0x0;this['name']=_0x164763['name']||'';this[_0x2da6('0x0')]=_0x164763[_0x2da6('0x0')];this[_0x2da6('0x1')]=_0x164763[_0x2da6('0x1')];this[_0x2da6('0x2')]=_0x164763['headerinfo'];this['localstationid']=_0x164763['localstationid'];this[_0x2da6('0x3')]=_0x164763[_0x2da6('0x3')]||0x960;this[_0x2da6('0x4')]=_0x164763[_0x2da6('0x4')]||0x3840;this[_0x2da6('0x5')]=_0x164763[_0x2da6('0x5')]||'v17,v27,v29';this[_0x2da6('0x6')]=_0x164763[_0x2da6('0x6')]||'no';this[_0x2da6('0x7')]=_0x164763['faxdetect']||'no';this[_0x2da6('0x8')]=_0x164763[_0x2da6('0x8')]||0x1388;this[_0x2da6('0x9')]=_0x164763['tech']||_0x2da6('0xa');this[_0x2da6('0xb')]=_0x164763[_0x2da6('0xb')]?_0x164763[_0x2da6('0xb')]:undefined;this[_0x2da6('0xc')]=_0x164763[_0x2da6('0xc')];this['key']=_0x164763[_0x2da6('0xd')];}module[_0x2da6('0xe')]=FaxAccount;