c0207efbd71dfcd0edf16199bd3d7e6bda1e6122
[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 _0x180b=['name','registry','defaultuser','../client','getTrunks','Request','GetTrunk'];(function(_0x5aaca6,_0x769d8d){var _0xc24c04=function(_0x149b43){while(--_0x149b43){_0x5aaca6['push'](_0x5aaca6['shift']());}};_0xc24c04(++_0x769d8d);}(_0x180b,0xdc));var _0xb180=function(_0x123f6b,_0x5ae539){_0x123f6b=_0x123f6b-0x0;var _0x1d9a33=_0x180b[_0x123f6b];return _0x1d9a33;};'use strict';var client=require(_0xb180('0x0'));exports[_0xb180('0x1')]=function(_0x2e46a1){return function(_0x567840){return client[_0xb180('0x2')](_0xb180('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xb180('0x4'),_0xb180('0x5'),_0xb180('0x6')]},'log':_0xb180('0x3')});};};