Built motion from commit 20b39a97.|2.6.29
[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 _0x06bc=['registry','defaultuser','GetTrunk','../client','getTrunks','name'];(function(_0x3725ee,_0x543bd9){var _0x399c71=function(_0xaf9400){while(--_0xaf9400){_0x3725ee['push'](_0x3725ee['shift']());}};_0x399c71(++_0x543bd9);}(_0x06bc,0x1c5));var _0xc06b=function(_0x4b61c6,_0x297003){_0x4b61c6=_0x4b61c6-0x0;var _0x149b85=_0x06bc[_0x4b61c6];return _0x149b85;};'use strict';var client=require(_0xc06b('0x0'));exports[_0xc06b('0x1')]=function(_0x27036c){return function(_0x521e02){return client['Request']('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xc06b('0x2'),_0xc06b('0x3'),_0xc06b('0x4')]},'log':_0xc06b('0x5')});};};