c5250da1dd0e7c64bf7aef413d20f4cc1a339673
[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 _0x571e=['tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout'];(function(_0x39f704,_0x543947){var _0x31ccb4=function(_0x3428ea){while(--_0x3428ea){_0x39f704['push'](_0x39f704['shift']());}};_0x31ccb4(++_0x543947);}(_0x571e,0x1a4));var _0xe571=function(_0x5650d6,_0x579878){_0x5650d6=_0x5650d6-0x0;var _0x5840b0=_0x571e[_0x5650d6];return _0x5840b0;};'use strict';function FaxAccount(_0x53e7e9){this['id']=_0x53e7e9['id']||0x0;this[_0xe571('0x0')]=_0x53e7e9['name']||'';this[_0xe571('0x1')]=_0x53e7e9[_0xe571('0x1')];this[_0xe571('0x2')]=_0x53e7e9[_0xe571('0x2')];this[_0xe571('0x3')]=_0x53e7e9[_0xe571('0x3')];this[_0xe571('0x4')]=_0x53e7e9['localstationid'];this[_0xe571('0x5')]=_0x53e7e9['minrate']||0x960;this['maxrate']=_0x53e7e9[_0xe571('0x6')]||0x3840;this['modem']=_0x53e7e9[_0xe571('0x7')]||_0xe571('0x8');this[_0xe571('0x9')]=_0x53e7e9[_0xe571('0x9')]||'no';this[_0xe571('0xa')]=_0x53e7e9['faxdetect']||'no';this[_0xe571('0xb')]=_0x53e7e9[_0xe571('0xb')]||0x1388;this[_0xe571('0xc')]=_0x53e7e9[_0xe571('0xc')]||_0xe571('0xd');this[_0xe571('0xe')]=_0x53e7e9[_0xe571('0xe')]?_0x53e7e9[_0xe571('0xe')]:undefined;this[_0xe571('0xf')]=_0x53e7e9['ListId'];this[_0xe571('0x10')]=_0x53e7e9['key'];}module[_0xe571('0x11')]=FaxAccount;