Built motion from commit (unavailable).|2.5.25
[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 _0xaa5d=['name','registry','GetTrunk'];(function(_0x97eb75,_0x17c7c5){var _0x5bb240=function(_0x2d5856){while(--_0x2d5856){_0x97eb75['push'](_0x97eb75['shift']());}};_0x5bb240(++_0x17c7c5);}(_0xaa5d,0x1e2));var _0xdaa5=function(_0x6c0123,_0x4c8d3b){_0x6c0123=_0x6c0123-0x0;var _0x5a87d2=_0xaa5d[_0x6c0123];return _0x5a87d2;};'use strict';var client=require('../client');exports['getTrunks']=function(_0x19513c){return function(_0xa37624){return client['Request'](_0xdaa5('0x0'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xdaa5('0x1'),_0xdaa5('0x2')]},'log':_0xdaa5('0x0')});};};