Built motion from commit f7863d46.|2.5.41
[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 _0x8a16=['v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem'];(function(_0x143fd2,_0x8cb55a){var _0xfc179=function(_0x317aee){while(--_0x317aee){_0x143fd2['push'](_0x143fd2['shift']());}};_0xfc179(++_0x8cb55a);}(_0x8a16,0xe6));var _0x68a1=function(_0x567dee,_0xcad664){_0x567dee=_0x567dee-0x0;var _0x4dc384=_0x8a16[_0x567dee];return _0x4dc384;};'use strict';function FaxAccount(_0x384f51){this['id']=_0x384f51['id']||0x0;this['name']=_0x384f51[_0x68a1('0x0')]||'';this[_0x68a1('0x1')]=_0x384f51[_0x68a1('0x1')];this[_0x68a1('0x2')]=_0x384f51[_0x68a1('0x2')];this[_0x68a1('0x3')]=_0x384f51[_0x68a1('0x3')];this['localstationid']=_0x384f51[_0x68a1('0x4')];this[_0x68a1('0x5')]=_0x384f51['minrate']||0x960;this[_0x68a1('0x6')]=_0x384f51['maxrate']||0x3840;this[_0x68a1('0x7')]=_0x384f51[_0x68a1('0x7')]||_0x68a1('0x8');this['gateway']=_0x384f51[_0x68a1('0x9')]||'no';this[_0x68a1('0xa')]=_0x384f51[_0x68a1('0xa')]||'no';this[_0x68a1('0xb')]=_0x384f51[_0x68a1('0xb')]||0x1388;this[_0x68a1('0xc')]=_0x384f51[_0x68a1('0xc')]||_0x68a1('0xd');this[_0x68a1('0xe')]=_0x384f51[_0x68a1('0xe')]?_0x384f51[_0x68a1('0xe')]:undefined;this[_0x68a1('0xf')]=_0x384f51[_0x68a1('0xf')];this[_0x68a1('0x10')]=_0x384f51[_0x68a1('0x10')];}module['exports']=FaxAccount;