530b834d233788f9d5475b40a05c036efc37ae6b
[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 _0x1e20=['localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo'];(function(_0x240c8c,_0x45ab44){var _0x2923d9=function(_0x353d8a){while(--_0x353d8a){_0x240c8c['push'](_0x240c8c['shift']());}};_0x2923d9(++_0x45ab44);}(_0x1e20,0x1ac));var _0x01e2=function(_0x4abd4e,_0x4f8d7d){_0x4abd4e=_0x4abd4e-0x0;var _0x47ce93=_0x1e20[_0x4abd4e];return _0x47ce93;};'use strict';function FaxAccount(_0x5dd2e8){this['id']=_0x5dd2e8['id']||0x0;this[_0x01e2('0x0')]=_0x5dd2e8['name']||'';this['description']=_0x5dd2e8[_0x01e2('0x1')];this[_0x01e2('0x2')]=_0x5dd2e8[_0x01e2('0x2')];this[_0x01e2('0x3')]=_0x5dd2e8['headerinfo'];this[_0x01e2('0x4')]=_0x5dd2e8['localstationid'];this[_0x01e2('0x5')]=_0x5dd2e8[_0x01e2('0x5')]||0x960;this['maxrate']=_0x5dd2e8[_0x01e2('0x6')]||0x3840;this['modem']=_0x5dd2e8[_0x01e2('0x7')]||_0x01e2('0x8');this[_0x01e2('0x9')]=_0x5dd2e8[_0x01e2('0x9')]||'no';this[_0x01e2('0xa')]=_0x5dd2e8[_0x01e2('0xa')]||'no';this['t38timeout']=_0x5dd2e8[_0x01e2('0xb')]||0x1388;this[_0x01e2('0xc')]=_0x5dd2e8[_0x01e2('0xc')]||_0x01e2('0xd');this[_0x01e2('0xe')]=_0x5dd2e8[_0x01e2('0xe')]?_0x5dd2e8[_0x01e2('0xe')]:undefined;this[_0x01e2('0xf')]=_0x5dd2e8[_0x01e2('0xf')];this[_0x01e2('0x10')]=_0x5dd2e8[_0x01e2('0x10')];}module[_0x01e2('0x11')]=FaxAccount;