8afac68ba777461a271db2b600dfe6dc7aea18ec
[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 _0xcf50=['gateway','faxdetect','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29'];(function(_0x289b33,_0xafb431){var _0x4c43f9=function(_0x252d72){while(--_0x252d72){_0x289b33['push'](_0x289b33['shift']());}};_0x4c43f9(++_0xafb431);}(_0xcf50,0xe5));var _0x0cf5=function(_0x249253,_0x38b111){_0x249253=_0x249253-0x0;var _0x23def2=_0xcf50[_0x249253];return _0x23def2;};'use strict';function FaxAccount(_0x322144){this['id']=_0x322144['id']||0x0;this['name']=_0x322144[_0x0cf5('0x0')]||'';this[_0x0cf5('0x1')]=_0x322144[_0x0cf5('0x1')];this[_0x0cf5('0x2')]=_0x322144['ecm'];this[_0x0cf5('0x3')]=_0x322144[_0x0cf5('0x3')];this[_0x0cf5('0x4')]=_0x322144[_0x0cf5('0x4')];this[_0x0cf5('0x5')]=_0x322144[_0x0cf5('0x5')]||0x960;this[_0x0cf5('0x6')]=_0x322144[_0x0cf5('0x6')]||0x3840;this[_0x0cf5('0x7')]=_0x322144[_0x0cf5('0x7')]||_0x0cf5('0x8');this[_0x0cf5('0x9')]=_0x322144[_0x0cf5('0x9')]||'no';this['faxdetect']=_0x322144[_0x0cf5('0xa')]||'no';this['t38timeout']=_0x322144['t38timeout']||0x1388;this['tech']=_0x322144[_0x0cf5('0xb')]||_0x0cf5('0xc');this[_0x0cf5('0xd')]=_0x322144[_0x0cf5('0xd')]?_0x322144['Trunk']:undefined;this[_0x0cf5('0xe')]=_0x322144[_0x0cf5('0xe')];this[_0x0cf5('0xf')]=_0x322144[_0x0cf5('0xf')];}module[_0x0cf5('0x10')]=FaxAccount;