acda6f42c7dab99461a32165d4b1546cb962cddc
[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 _0x3135=['headerinfo','localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm'];(function(_0x2775a4,_0x116c74){var _0x1fd8c8=function(_0x3a219f){while(--_0x3a219f){_0x2775a4['push'](_0x2775a4['shift']());}};_0x1fd8c8(++_0x116c74);}(_0x3135,0x140));var _0x5313=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x3135[_0x14add3];return _0x4a174f;};'use strict';function FaxAccount(_0x36bee1){this['id']=_0x36bee1['id']||0x0;this[_0x5313('0x0')]=_0x36bee1[_0x5313('0x0')]||'';this[_0x5313('0x1')]=_0x36bee1[_0x5313('0x1')];this[_0x5313('0x2')]=_0x36bee1[_0x5313('0x2')];this[_0x5313('0x3')]=_0x36bee1[_0x5313('0x3')];this[_0x5313('0x4')]=_0x36bee1['localstationid'];this[_0x5313('0x5')]=_0x36bee1[_0x5313('0x5')]||0x960;this[_0x5313('0x6')]=_0x36bee1[_0x5313('0x6')]||0x3840;this['modem']=_0x36bee1[_0x5313('0x7')]||'v17,v27,v29';this['gateway']=_0x36bee1[_0x5313('0x8')]||'no';this[_0x5313('0x9')]=_0x36bee1['faxdetect']||'no';this[_0x5313('0xa')]=_0x36bee1['t38timeout']||0x1388;this[_0x5313('0xb')]=_0x36bee1[_0x5313('0xb')]||_0x5313('0xc');this[_0x5313('0xd')]=_0x36bee1[_0x5313('0xd')]?_0x36bee1[_0x5313('0xd')]:undefined;this[_0x5313('0xe')]=_0x36bee1['ListId'];this[_0x5313('0xf')]=_0x36bee1[_0x5313('0xf')];}module[_0x5313('0x10')]=FaxAccount;