Built motion from commit da617fac.|2.6.6
[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 _0x047d=['gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29'];(function(_0x5c50dd,_0x9b43aa){var _0x426767=function(_0x23b10a){while(--_0x23b10a){_0x5c50dd['push'](_0x5c50dd['shift']());}};_0x426767(++_0x9b43aa);}(_0x047d,0x16d));var _0xd047=function(_0x107b16,_0x21c460){_0x107b16=_0x107b16-0x0;var _0x56d2e5=_0x047d[_0x107b16];return _0x56d2e5;};'use strict';function FaxAccount(_0x134afd){this['id']=_0x134afd['id']||0x0;this[_0xd047('0x0')]=_0x134afd[_0xd047('0x0')]||'';this[_0xd047('0x1')]=_0x134afd[_0xd047('0x1')];this[_0xd047('0x2')]=_0x134afd[_0xd047('0x2')];this[_0xd047('0x3')]=_0x134afd['headerinfo'];this['localstationid']=_0x134afd[_0xd047('0x4')];this[_0xd047('0x5')]=_0x134afd['minrate']||0x960;this[_0xd047('0x6')]=_0x134afd[_0xd047('0x6')]||0x3840;this[_0xd047('0x7')]=_0x134afd[_0xd047('0x7')]||_0xd047('0x8');this['gateway']=_0x134afd[_0xd047('0x9')]||'no';this[_0xd047('0xa')]=_0x134afd[_0xd047('0xa')]||'no';this['t38timeout']=_0x134afd[_0xd047('0xb')]||0x1388;this[_0xd047('0xc')]=_0x134afd[_0xd047('0xc')]||_0xd047('0xd');this[_0xd047('0xe')]=_0x134afd['Trunk']?_0x134afd[_0xd047('0xe')]:undefined;this['ListId']=_0x134afd[_0xd047('0xf')];this['key']=_0x134afd['key'];}module[_0xd047('0x10')]=FaxAccount;