Built motion from commit 87cd5f02.|2.5.48
[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 _0x7a92=['ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','Trunk','ListId','key','exports','name','description'];(function(_0x143622,_0x4ea1ae){var _0x3c44b0=function(_0x12d5ed){while(--_0x12d5ed){_0x143622['push'](_0x143622['shift']());}};_0x3c44b0(++_0x4ea1ae);}(_0x7a92,0x97));var _0x27a9=function(_0x59a9cc,_0x405002){_0x59a9cc=_0x59a9cc-0x0;var _0x808dc0=_0x7a92[_0x59a9cc];return _0x808dc0;};'use strict';function FaxAccount(_0x1c4055){this['id']=_0x1c4055['id']||0x0;this[_0x27a9('0x0')]=_0x1c4055[_0x27a9('0x0')]||'';this[_0x27a9('0x1')]=_0x1c4055['description'];this[_0x27a9('0x2')]=_0x1c4055[_0x27a9('0x2')];this[_0x27a9('0x3')]=_0x1c4055['headerinfo'];this['localstationid']=_0x1c4055[_0x27a9('0x4')];this[_0x27a9('0x5')]=_0x1c4055['minrate']||0x960;this[_0x27a9('0x6')]=_0x1c4055[_0x27a9('0x6')]||0x3840;this['modem']=_0x1c4055[_0x27a9('0x7')]||_0x27a9('0x8');this[_0x27a9('0x9')]=_0x1c4055[_0x27a9('0x9')]||'no';this['faxdetect']=_0x1c4055[_0x27a9('0xa')]||'no';this[_0x27a9('0xb')]=_0x1c4055['t38timeout']||0x1388;this[_0x27a9('0xc')]=_0x1c4055['tech']||'SIP';this[_0x27a9('0xd')]=_0x1c4055[_0x27a9('0xd')]?_0x1c4055[_0x27a9('0xd')]:undefined;this[_0x27a9('0xe')]=_0x1c4055[_0x27a9('0xe')];this[_0x27a9('0xf')]=_0x1c4055[_0x27a9('0xf')];}module[_0x27a9('0x10')]=FaxAccount;