0ec5a0752dfa87088eec3f2bb6e40db4022c0317
[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 _0x2559=['name','ecm','headerinfo','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','SIP','Trunk','key','exports'];(function(_0xbe67ff,_0x21bd36){var _0x49ce8a=function(_0x4fe4b3){while(--_0x4fe4b3){_0xbe67ff['push'](_0xbe67ff['shift']());}};_0x49ce8a(++_0x21bd36);}(_0x2559,0x1ea));var _0x9255=function(_0x4d3212,_0x3907e6){_0x4d3212=_0x4d3212-0x0;var _0x361a10=_0x2559[_0x4d3212];return _0x361a10;};'use strict';function FaxAccount(_0x2608f6){this['id']=_0x2608f6['id']||0x0;this['name']=_0x2608f6[_0x9255('0x0')]||'';this['description']=_0x2608f6['description'];this[_0x9255('0x1')]=_0x2608f6['ecm'];this[_0x9255('0x2')]=_0x2608f6['headerinfo'];this['localstationid']=_0x2608f6['localstationid'];this[_0x9255('0x3')]=_0x2608f6[_0x9255('0x3')]||0x960;this[_0x9255('0x4')]=_0x2608f6[_0x9255('0x4')]||0x3840;this[_0x9255('0x5')]=_0x2608f6[_0x9255('0x5')]||'v17,v27,v29';this[_0x9255('0x6')]=_0x2608f6[_0x9255('0x6')]||'no';this[_0x9255('0x7')]=_0x2608f6[_0x9255('0x7')]||'no';this[_0x9255('0x8')]=_0x2608f6['t38timeout']||0x1388;this[_0x9255('0x9')]=_0x2608f6[_0x9255('0x9')]||_0x9255('0xa');this[_0x9255('0xb')]=_0x2608f6['Trunk']?_0x2608f6['Trunk']:undefined;this['ListId']=_0x2608f6['ListId'];this[_0x9255('0xc')]=_0x2608f6['key'];}module[_0x9255('0xd')]=FaxAccount;