Built motion from commit 4c281f94.|2.6.31
[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 _0x9cf4=['gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','headerinfo','localstationid','minrate','maxrate','v17,v27,v29'];(function(_0x18b5e8,_0x51e875){var _0x25baed=function(_0x3fcdf9){while(--_0x3fcdf9){_0x18b5e8['push'](_0x18b5e8['shift']());}};_0x25baed(++_0x51e875);}(_0x9cf4,0x1b9));var _0x49cf=function(_0x295343,_0xccce4f){_0x295343=_0x295343-0x0;var _0x5baa15=_0x9cf4[_0x295343];return _0x5baa15;};'use strict';function FaxAccount(_0x5bb965){this['id']=_0x5bb965['id']||0x0;this['name']=_0x5bb965[_0x49cf('0x0')]||'';this[_0x49cf('0x1')]=_0x5bb965[_0x49cf('0x1')];this['ecm']=_0x5bb965['ecm'];this[_0x49cf('0x2')]=_0x5bb965['headerinfo'];this[_0x49cf('0x3')]=_0x5bb965[_0x49cf('0x3')];this[_0x49cf('0x4')]=_0x5bb965[_0x49cf('0x4')]||0x960;this[_0x49cf('0x5')]=_0x5bb965['maxrate']||0x3840;this['modem']=_0x5bb965['modem']||_0x49cf('0x6');this[_0x49cf('0x7')]=_0x5bb965['gateway']||'no';this[_0x49cf('0x8')]=_0x5bb965[_0x49cf('0x8')]||'no';this[_0x49cf('0x9')]=_0x5bb965[_0x49cf('0x9')]||0x1388;this[_0x49cf('0xa')]=_0x5bb965[_0x49cf('0xa')]||_0x49cf('0xb');this[_0x49cf('0xc')]=_0x5bb965[_0x49cf('0xc')]?_0x5bb965[_0x49cf('0xc')]:undefined;this['ListId']=_0x5bb965[_0x49cf('0xd')];this[_0x49cf('0xe')]=_0x5bb965['key'];}module[_0x49cf('0xf')]=FaxAccount;