Built motion from commit (unavailable).|2.5.11
[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 _0x5a14=['t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect'];(function(_0x6c993a,_0x5ea3ab){var _0x27f547=function(_0x22df20){while(--_0x22df20){_0x6c993a['push'](_0x6c993a['shift']());}};_0x27f547(++_0x5ea3ab);}(_0x5a14,0x73));var _0x45a1=function(_0x4f77e4,_0x28b8d1){_0x4f77e4=_0x4f77e4-0x0;var _0x134870=_0x5a14[_0x4f77e4];return _0x134870;};'use strict';function FaxAccount(_0x2912fa){this['id']=_0x2912fa['id']||0x0;this[_0x45a1('0x0')]=_0x2912fa['name']||'';this[_0x45a1('0x1')]=_0x2912fa['description'];this[_0x45a1('0x2')]=_0x2912fa[_0x45a1('0x2')];this[_0x45a1('0x3')]=_0x2912fa['headerinfo'];this['localstationid']=_0x2912fa[_0x45a1('0x4')];this[_0x45a1('0x5')]=_0x2912fa['minrate']||0x960;this[_0x45a1('0x6')]=_0x2912fa[_0x45a1('0x6')]||0x3840;this['modem']=_0x2912fa[_0x45a1('0x7')]||_0x45a1('0x8');this[_0x45a1('0x9')]=_0x2912fa['gateway']||'no';this[_0x45a1('0xa')]=_0x2912fa[_0x45a1('0xa')]||'no';this[_0x45a1('0xb')]=_0x2912fa['t38timeout']||0x1388;this[_0x45a1('0xc')]=_0x2912fa[_0x45a1('0xc')]||_0x45a1('0xd');this[_0x45a1('0xe')]=_0x2912fa[_0x45a1('0xe')]?_0x2912fa[_0x45a1('0xe')]:undefined;this[_0x45a1('0xf')]=_0x2912fa[_0x45a1('0xf')];this[_0x45a1('0x10')]=_0x2912fa[_0x45a1('0x10')];}module[_0x45a1('0x11')]=FaxAccount;