1e77e6a4d4a27565a7deae4946f98c702b01d21b
[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 _0x68a9=['t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','localstationid','minrate','modem','v17,v27,v29','gateway','faxdetect'];(function(_0x33154d,_0x854047){var _0x3b2f03=function(_0x35f7a6){while(--_0x35f7a6){_0x33154d['push'](_0x33154d['shift']());}};_0x3b2f03(++_0x854047);}(_0x68a9,0x106));var _0x968a=function(_0x24237f,_0x4cf32c){_0x24237f=_0x24237f-0x0;var _0x48298e=_0x68a9[_0x24237f];return _0x48298e;};'use strict';function FaxAccount(_0x4f2493){this['id']=_0x4f2493['id']||0x0;this[_0x968a('0x0')]=_0x4f2493[_0x968a('0x0')]||'';this[_0x968a('0x1')]=_0x4f2493['description'];this['ecm']=_0x4f2493['ecm'];this['headerinfo']=_0x4f2493['headerinfo'];this[_0x968a('0x2')]=_0x4f2493[_0x968a('0x2')];this[_0x968a('0x3')]=_0x4f2493[_0x968a('0x3')]||0x960;this['maxrate']=_0x4f2493['maxrate']||0x3840;this[_0x968a('0x4')]=_0x4f2493[_0x968a('0x4')]||_0x968a('0x5');this['gateway']=_0x4f2493[_0x968a('0x6')]||'no';this[_0x968a('0x7')]=_0x4f2493[_0x968a('0x7')]||'no';this[_0x968a('0x8')]=_0x4f2493[_0x968a('0x8')]||0x1388;this[_0x968a('0x9')]=_0x4f2493['tech']||_0x968a('0xa');this[_0x968a('0xb')]=_0x4f2493['Trunk']?_0x4f2493[_0x968a('0xb')]:undefined;this[_0x968a('0xc')]=_0x4f2493[_0x968a('0xc')];this[_0x968a('0xd')]=_0x4f2493['key'];}module[_0x968a('0xe')]=FaxAccount;