Built motion from commit a61a4a20.|2.5.46
[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 _0x1529=['getTrunks','Request','GetTrunk','name','registry','defaultuser'];(function(_0x10eb6b,_0x3fe155){var _0x3a3ab1=function(_0x467f24){while(--_0x467f24){_0x10eb6b['push'](_0x10eb6b['shift']());}};_0x3a3ab1(++_0x3fe155);}(_0x1529,0x1d4));var _0x9152=function(_0x8cb2f9,_0x2b8706){_0x8cb2f9=_0x8cb2f9-0x0;var _0x164887=_0x1529[_0x8cb2f9];return _0x164887;};'use strict';var client=require('../client');exports[_0x9152('0x0')]=function(_0x384434){return function(_0x21ec0f){return client[_0x9152('0x1')](_0x9152('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x9152('0x3'),_0x9152('0x4'),_0x9152('0x5')]},'log':_0x9152('0x2')});};};