Built motion from commit 85328c08.|2.5.50
[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 _0x5ad3=['registry','defaultuser','../client','getTrunks','GetTrunk','name'];(function(_0x1fafa5,_0x1aa281){var _0xcf08c9=function(_0x3af1b4){while(--_0x3af1b4){_0x1fafa5['push'](_0x1fafa5['shift']());}};_0xcf08c9(++_0x1aa281);}(_0x5ad3,0x1e2));var _0x35ad=function(_0x4b8ecc,_0x4cd01c){_0x4b8ecc=_0x4b8ecc-0x0;var _0x48c1b9=_0x5ad3[_0x4b8ecc];return _0x48c1b9;};'use strict';var client=require(_0x35ad('0x0'));exports[_0x35ad('0x1')]=function(_0x15b630){return function(_0x2a45b7){return client['Request'](_0x35ad('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x35ad('0x3'),_0x35ad('0x4'),_0x35ad('0x5')]},'log':_0x35ad('0x2')});};};