a8f54db167845f5c9ce52c8ff5d657cbaa4f6a55
[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 _0xf788=['t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','faxdetect'];(function(_0xcd0167,_0x2bab8d){var _0x6edd99=function(_0x4cfdba){while(--_0x4cfdba){_0xcd0167['push'](_0xcd0167['shift']());}};_0x6edd99(++_0x2bab8d);}(_0xf788,0x197));var _0x8f78=function(_0x334841,_0x2bbc4c){_0x334841=_0x334841-0x0;var _0x5beb4b=_0xf788[_0x334841];return _0x5beb4b;};'use strict';function FaxAccount(_0x254327){this['id']=_0x254327['id']||0x0;this[_0x8f78('0x0')]=_0x254327['name']||'';this[_0x8f78('0x1')]=_0x254327[_0x8f78('0x1')];this[_0x8f78('0x2')]=_0x254327[_0x8f78('0x2')];this[_0x8f78('0x3')]=_0x254327[_0x8f78('0x3')];this['localstationid']=_0x254327[_0x8f78('0x4')];this[_0x8f78('0x5')]=_0x254327[_0x8f78('0x5')]||0x960;this['maxrate']=_0x254327[_0x8f78('0x6')]||0x3840;this[_0x8f78('0x7')]=_0x254327[_0x8f78('0x7')]||'v17,v27,v29';this['gateway']=_0x254327['gateway']||'no';this[_0x8f78('0x8')]=_0x254327[_0x8f78('0x8')]||'no';this[_0x8f78('0x9')]=_0x254327[_0x8f78('0x9')]||0x1388;this[_0x8f78('0xa')]=_0x254327[_0x8f78('0xa')]||_0x8f78('0xb');this['Trunk']=_0x254327[_0x8f78('0xc')]?_0x254327[_0x8f78('0xc')]:undefined;this[_0x8f78('0xd')]=_0x254327['ListId'];this[_0x8f78('0xe')]=_0x254327[_0x8f78('0xe')];}module[_0x8f78('0xf')]=FaxAccount;