bd544f6f7d09a296e9bb147fdabde591ec3c4207
[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 _0xb975=['gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','localstationid','minrate','maxrate','modem','v17,v27,v29'];(function(_0xe8129c,_0x2fb03c){var _0x709fc5=function(_0xb8e0c6){while(--_0xb8e0c6){_0xe8129c['push'](_0xe8129c['shift']());}};_0x709fc5(++_0x2fb03c);}(_0xb975,0x199));var _0x5b97=function(_0x4eafed,_0x26e2bc){_0x4eafed=_0x4eafed-0x0;var _0x159c85=_0xb975[_0x4eafed];return _0x159c85;};'use strict';function FaxAccount(_0x5b5294){this['id']=_0x5b5294['id']||0x0;this[_0x5b97('0x0')]=_0x5b5294[_0x5b97('0x0')]||'';this['description']=_0x5b5294[_0x5b97('0x1')];this['ecm']=_0x5b5294['ecm'];this['headerinfo']=_0x5b5294['headerinfo'];this[_0x5b97('0x2')]=_0x5b5294[_0x5b97('0x2')];this['minrate']=_0x5b5294[_0x5b97('0x3')]||0x960;this['maxrate']=_0x5b5294[_0x5b97('0x4')]||0x3840;this[_0x5b97('0x5')]=_0x5b5294[_0x5b97('0x5')]||_0x5b97('0x6');this[_0x5b97('0x7')]=_0x5b5294[_0x5b97('0x7')]||'no';this['faxdetect']=_0x5b5294[_0x5b97('0x8')]||'no';this[_0x5b97('0x9')]=_0x5b5294[_0x5b97('0x9')]||0x1388;this[_0x5b97('0xa')]=_0x5b5294[_0x5b97('0xa')]||_0x5b97('0xb');this[_0x5b97('0xc')]=_0x5b5294[_0x5b97('0xc')]?_0x5b5294[_0x5b97('0xc')]:undefined;this[_0x5b97('0xd')]=_0x5b5294[_0x5b97('0xd')];this['key']=_0x5b5294[_0x5b97('0xe')];}module[_0x5b97('0xf')]=FaxAccount;