26da9fdddc9470fdd1fbe6fffb01d5786503d771
[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 _0x14a0=['maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','Trunk','ListId','key','exports','description','ecm','headerinfo','localstationid','minrate'];(function(_0x513aa5,_0x1fba79){var _0x1a1a7c=function(_0x240e3f){while(--_0x240e3f){_0x513aa5['push'](_0x513aa5['shift']());}};_0x1a1a7c(++_0x1fba79);}(_0x14a0,0xcb));var _0x014a=function(_0x449fae,_0x14a608){_0x449fae=_0x449fae-0x0;var _0x33672b=_0x14a0[_0x449fae];return _0x33672b;};'use strict';function FaxAccount(_0x403523){this['id']=_0x403523['id']||0x0;this['name']=_0x403523['name']||'';this[_0x014a('0x0')]=_0x403523[_0x014a('0x0')];this[_0x014a('0x1')]=_0x403523['ecm'];this[_0x014a('0x2')]=_0x403523[_0x014a('0x2')];this['localstationid']=_0x403523[_0x014a('0x3')];this[_0x014a('0x4')]=_0x403523[_0x014a('0x4')]||0x960;this[_0x014a('0x5')]=_0x403523[_0x014a('0x5')]||0x3840;this['modem']=_0x403523[_0x014a('0x6')]||_0x014a('0x7');this[_0x014a('0x8')]=_0x403523[_0x014a('0x8')]||'no';this[_0x014a('0x9')]=_0x403523['faxdetect']||'no';this[_0x014a('0xa')]=_0x403523[_0x014a('0xa')]||0x1388;this[_0x014a('0xb')]=_0x403523[_0x014a('0xb')]||'SIP';this[_0x014a('0xc')]=_0x403523[_0x014a('0xc')]?_0x403523[_0x014a('0xc')]:undefined;this[_0x014a('0xd')]=_0x403523[_0x014a('0xd')];this['key']=_0x403523[_0x014a('0xe')];}module[_0x014a('0xf')]=FaxAccount;