Built motion from commit d5e4af8c.|2.6.23
[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 _0xdf67=['name','registry','defaultuser','../client','getTrunks','GetTrunk'];(function(_0x13e418,_0x167abb){var _0x1f31d8=function(_0x1b84e1){while(--_0x1b84e1){_0x13e418['push'](_0x13e418['shift']());}};_0x1f31d8(++_0x167abb);}(_0xdf67,0x117));var _0x7df6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xdf67[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x7df6('0x0'));exports[_0x7df6('0x1')]=function(_0x815a7e){return function(_0x84acd7){return client['Request'](_0x7df6('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x7df6('0x3'),_0x7df6('0x4'),_0x7df6('0x5')]},'log':_0x7df6('0x2')});};};