15947e1e916118ec31fc695150a5c7a0f3cc38fa
[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 _0x8627=['headerinfo','localstationid','minrate','maxrate','modem','faxdetect','t38timeout','tech','Trunk','ListId','key','exports','name','description','ecm'];(function(_0x35ac1f,_0x2880a1){var _0x4bc0f3=function(_0xda930){while(--_0xda930){_0x35ac1f['push'](_0x35ac1f['shift']());}};_0x4bc0f3(++_0x2880a1);}(_0x8627,0x156));var _0x7862=function(_0x4a090d,_0x5b7af2){_0x4a090d=_0x4a090d-0x0;var _0x20d720=_0x8627[_0x4a090d];return _0x20d720;};'use strict';function FaxAccount(_0x486d07){this['id']=_0x486d07['id']||0x0;this[_0x7862('0x0')]=_0x486d07[_0x7862('0x0')]||'';this['description']=_0x486d07[_0x7862('0x1')];this[_0x7862('0x2')]=_0x486d07[_0x7862('0x2')];this['headerinfo']=_0x486d07[_0x7862('0x3')];this[_0x7862('0x4')]=_0x486d07[_0x7862('0x4')];this[_0x7862('0x5')]=_0x486d07['minrate']||0x960;this[_0x7862('0x6')]=_0x486d07[_0x7862('0x6')]||0x3840;this[_0x7862('0x7')]=_0x486d07[_0x7862('0x7')]||'v17,v27,v29';this['gateway']=_0x486d07['gateway']||'no';this[_0x7862('0x8')]=_0x486d07['faxdetect']||'no';this[_0x7862('0x9')]=_0x486d07[_0x7862('0x9')]||0x1388;this[_0x7862('0xa')]=_0x486d07['tech']||'SIP';this[_0x7862('0xb')]=_0x486d07['Trunk']?_0x486d07['Trunk']:undefined;this['ListId']=_0x486d07[_0x7862('0xc')];this['key']=_0x486d07[_0x7862('0xd')];}module[_0x7862('0xe')]=FaxAccount;