1af1c39a37384931fe03a52e181c7b3eb57c76a2
[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 _0x61b8=['tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect'];(function(_0x5f3f88,_0x562baf){var _0xd08119=function(_0x42dbf7){while(--_0x42dbf7){_0x5f3f88['push'](_0x5f3f88['shift']());}};_0xd08119(++_0x562baf);}(_0x61b8,0x1af));var _0x861b=function(_0x3ccca2,_0x5a9f24){_0x3ccca2=_0x3ccca2-0x0;var _0x53d28b=_0x61b8[_0x3ccca2];return _0x53d28b;};'use strict';function FaxAccount(_0x212a1a){this['id']=_0x212a1a['id']||0x0;this[_0x861b('0x0')]=_0x212a1a['name']||'';this[_0x861b('0x1')]=_0x212a1a['description'];this[_0x861b('0x2')]=_0x212a1a[_0x861b('0x2')];this[_0x861b('0x3')]=_0x212a1a[_0x861b('0x3')];this[_0x861b('0x4')]=_0x212a1a['localstationid'];this[_0x861b('0x5')]=_0x212a1a[_0x861b('0x5')]||0x960;this[_0x861b('0x6')]=_0x212a1a[_0x861b('0x6')]||0x3840;this[_0x861b('0x7')]=_0x212a1a[_0x861b('0x7')]||_0x861b('0x8');this[_0x861b('0x9')]=_0x212a1a[_0x861b('0x9')]||'no';this[_0x861b('0xa')]=_0x212a1a['faxdetect']||'no';this['t38timeout']=_0x212a1a['t38timeout']||0x1388;this[_0x861b('0xb')]=_0x212a1a[_0x861b('0xb')]||_0x861b('0xc');this['Trunk']=_0x212a1a[_0x861b('0xd')]?_0x212a1a[_0x861b('0xd')]:undefined;this['ListId']=_0x212a1a[_0x861b('0xe')];this['key']=_0x212a1a[_0x861b('0xf')];}module[_0x861b('0x10')]=FaxAccount;