Built motion from commit d5e4af8c.|2.6.23
[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 _0x9bb2=['Trunk','ListId','key','exports','name','description','ecm','localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','SIP'];(function(_0xd1d19a,_0x1933f0){var _0x52a79d=function(_0x5199e2){while(--_0x5199e2){_0xd1d19a['push'](_0xd1d19a['shift']());}};_0x52a79d(++_0x1933f0);}(_0x9bb2,0xc4));var _0x29bb=function(_0x518526,_0x38d6ea){_0x518526=_0x518526-0x0;var _0x2034d9=_0x9bb2[_0x518526];return _0x2034d9;};'use strict';function FaxAccount(_0x4dc777){this['id']=_0x4dc777['id']||0x0;this['name']=_0x4dc777[_0x29bb('0x0')]||'';this[_0x29bb('0x1')]=_0x4dc777[_0x29bb('0x1')];this[_0x29bb('0x2')]=_0x4dc777[_0x29bb('0x2')];this['headerinfo']=_0x4dc777['headerinfo'];this[_0x29bb('0x3')]=_0x4dc777['localstationid'];this[_0x29bb('0x4')]=_0x4dc777[_0x29bb('0x4')]||0x960;this['maxrate']=_0x4dc777[_0x29bb('0x5')]||0x3840;this[_0x29bb('0x6')]=_0x4dc777['modem']||'v17,v27,v29';this[_0x29bb('0x7')]=_0x4dc777['gateway']||'no';this[_0x29bb('0x8')]=_0x4dc777[_0x29bb('0x8')]||'no';this[_0x29bb('0x9')]=_0x4dc777['t38timeout']||0x1388;this[_0x29bb('0xa')]=_0x4dc777[_0x29bb('0xa')]||_0x29bb('0xb');this[_0x29bb('0xc')]=_0x4dc777[_0x29bb('0xc')]?_0x4dc777[_0x29bb('0xc')]:undefined;this[_0x29bb('0xd')]=_0x4dc777[_0x29bb('0xd')];this[_0x29bb('0xe')]=_0x4dc777[_0x29bb('0xe')];}module[_0x29bb('0xf')]=FaxAccount;