Built motion from commit c116dc8b.|2.6.30
[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 _0x79e0=['registry','defaultuser','../client','getTrunks','GetTrunk','name'];(function(_0x1b09c0,_0x20c590){var _0x4f5ec5=function(_0x18f160){while(--_0x18f160){_0x1b09c0['push'](_0x1b09c0['shift']());}};_0x4f5ec5(++_0x20c590);}(_0x79e0,0x1f4));var _0x079e=function(_0x3ea913,_0x255df2){_0x3ea913=_0x3ea913-0x0;var _0x2b4f28=_0x79e0[_0x3ea913];return _0x2b4f28;};'use strict';var client=require(_0x079e('0x0'));exports[_0x079e('0x1')]=function(_0x40654a){return function(_0x4923f3){return client['Request'](_0x079e('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x079e('0x3'),_0x079e('0x4'),_0x079e('0x5')]},'log':_0x079e('0x2')});};};