Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / services / ami / rpc / trunk.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 _0xf2cf=['getTrunks','GetTrunk','name','registry','defaultuser'];(function(_0x290876,_0x220856){var _0x1489ab=function(_0x5b9c36){while(--_0x5b9c36){_0x290876['push'](_0x290876['shift']());}};_0x1489ab(++_0x220856);}(_0xf2cf,0xf5));var _0xff2c=function(_0x33a1b6,_0x7cb9e9){_0x33a1b6=_0x33a1b6-0x0;var _0x4800ba=_0xf2cf[_0x33a1b6];return _0x4800ba;};'use strict';var client=require('../client');exports[_0xff2c('0x0')]=function(_0x28284d){return function(_0xf30634){return client['Request'](_0xff2c('0x1'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xff2c('0x2'),_0xff2c('0x3'),_0xff2c('0x4')]},'log':_0xff2c('0x1')});};};