1ccae145b2ec50d4832cee27063ba2c7e69ab6d0
[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 _0xb635=['maxrate','modem','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xb635,0x11b));var _0x5b63=function(_0xa74d76,_0x2e748a){_0xa74d76=_0xa74d76-0x0;var _0x494e18=_0xb635[_0xa74d76];return _0x494e18;};'use strict';function FaxAccount(_0x1400fd){this['id']=_0x1400fd['id']||0x0;this[_0x5b63('0x0')]=_0x1400fd[_0x5b63('0x0')]||'';this[_0x5b63('0x1')]=_0x1400fd[_0x5b63('0x1')];this[_0x5b63('0x2')]=_0x1400fd[_0x5b63('0x2')];this[_0x5b63('0x3')]=_0x1400fd['headerinfo'];this[_0x5b63('0x4')]=_0x1400fd[_0x5b63('0x4')];this['minrate']=_0x1400fd[_0x5b63('0x5')]||0x960;this['maxrate']=_0x1400fd[_0x5b63('0x6')]||0x3840;this[_0x5b63('0x7')]=_0x1400fd[_0x5b63('0x7')]||'v17,v27,v29';this[_0x5b63('0x8')]=_0x1400fd[_0x5b63('0x8')]||'no';this['faxdetect']=_0x1400fd[_0x5b63('0x9')]||'no';this[_0x5b63('0xa')]=_0x1400fd['t38timeout']||0x1388;this['tech']=_0x1400fd[_0x5b63('0xb')]||_0x5b63('0xc');this[_0x5b63('0xd')]=_0x1400fd[_0x5b63('0xd')]?_0x1400fd[_0x5b63('0xd')]:undefined;this[_0x5b63('0xe')]=_0x1400fd[_0x5b63('0xe')];this[_0x5b63('0xf')]=_0x1400fd[_0x5b63('0xf')];}module[_0x5b63('0x10')]=FaxAccount;