Built motion from commit 52c8a02d.|2.6.29
[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 _0xa0c1=['minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','tech','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid'];(function(_0x313024,_0x2230c2){var _0x53030c=function(_0x23e5df){while(--_0x23e5df){_0x313024['push'](_0x313024['shift']());}};_0x53030c(++_0x2230c2);}(_0xa0c1,0xab));var _0x1a0c=function(_0x16c568,_0x4d8966){_0x16c568=_0x16c568-0x0;var _0x4e2961=_0xa0c1[_0x16c568];return _0x4e2961;};'use strict';function FaxAccount(_0xa51fc9){this['id']=_0xa51fc9['id']||0x0;this[_0x1a0c('0x0')]=_0xa51fc9['name']||'';this[_0x1a0c('0x1')]=_0xa51fc9['description'];this[_0x1a0c('0x2')]=_0xa51fc9[_0x1a0c('0x2')];this[_0x1a0c('0x3')]=_0xa51fc9['headerinfo'];this[_0x1a0c('0x4')]=_0xa51fc9[_0x1a0c('0x4')];this['minrate']=_0xa51fc9[_0x1a0c('0x5')]||0x960;this[_0x1a0c('0x6')]=_0xa51fc9['maxrate']||0x3840;this[_0x1a0c('0x7')]=_0xa51fc9[_0x1a0c('0x7')]||_0x1a0c('0x8');this['gateway']=_0xa51fc9[_0x1a0c('0x9')]||'no';this['faxdetect']=_0xa51fc9[_0x1a0c('0xa')]||'no';this['t38timeout']=_0xa51fc9['t38timeout']||0x1388;this[_0x1a0c('0xb')]=_0xa51fc9[_0x1a0c('0xb')]||'SIP';this[_0x1a0c('0xc')]=_0xa51fc9['Trunk']?_0xa51fc9[_0x1a0c('0xc')]:undefined;this[_0x1a0c('0xd')]=_0xa51fc9[_0x1a0c('0xd')];this[_0x1a0c('0xe')]=_0xa51fc9[_0x1a0c('0xe')];}module[_0x1a0c('0xf')]=FaxAccount;