0162896d115d565439c117db5f623fa9840dbc7f
[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 _0xb59c=['faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate','modem','gateway'];(function(_0x167b19,_0x56081a){var _0x1fcca2=function(_0x544ca4){while(--_0x544ca4){_0x167b19['push'](_0x167b19['shift']());}};_0x1fcca2(++_0x56081a);}(_0xb59c,0x68));var _0xcb59=function(_0x4bad26,_0x3b4a8b){_0x4bad26=_0x4bad26-0x0;var _0x14a1b0=_0xb59c[_0x4bad26];return _0x14a1b0;};'use strict';function FaxAccount(_0x297cf5){this['id']=_0x297cf5['id']||0x0;this[_0xcb59('0x0')]=_0x297cf5[_0xcb59('0x0')]||'';this[_0xcb59('0x1')]=_0x297cf5['description'];this[_0xcb59('0x2')]=_0x297cf5[_0xcb59('0x2')];this[_0xcb59('0x3')]=_0x297cf5[_0xcb59('0x3')];this['localstationid']=_0x297cf5[_0xcb59('0x4')];this['minrate']=_0x297cf5[_0xcb59('0x5')]||0x960;this['maxrate']=_0x297cf5['maxrate']||0x3840;this['modem']=_0x297cf5[_0xcb59('0x6')]||'v17,v27,v29';this[_0xcb59('0x7')]=_0x297cf5['gateway']||'no';this[_0xcb59('0x8')]=_0x297cf5[_0xcb59('0x8')]||'no';this[_0xcb59('0x9')]=_0x297cf5['t38timeout']||0x1388;this[_0xcb59('0xa')]=_0x297cf5[_0xcb59('0xa')]||_0xcb59('0xb');this[_0xcb59('0xc')]=_0x297cf5[_0xcb59('0xc')]?_0x297cf5[_0xcb59('0xc')]:undefined;this[_0xcb59('0xd')]=_0x297cf5[_0xcb59('0xd')];this['key']=_0x297cf5[_0xcb59('0xe')];}module[_0xcb59('0xf')]=FaxAccount;