Built motion from commit (unavailable).|2.5.9
[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 _0xbddc=['Request','GetTrunk','name','../client'];(function(_0x2067c1,_0x4ad413){var _0x4c2968=function(_0x51df02){while(--_0x51df02){_0x2067c1['push'](_0x2067c1['shift']());}};_0x4c2968(++_0x4ad413);}(_0xbddc,0xe3));var _0xcbdd=function(_0x452145,_0x3ae7bc){_0x452145=_0x452145-0x0;var _0xa04e70=_0xbddc[_0x452145];return _0xa04e70;};'use strict';var client=require(_0xcbdd('0x0'));exports['getTrunks']=function(_0x2ff726){return function(_0x38a7de){return client[_0xcbdd('0x1')](_0xcbdd('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xcbdd('0x3'),'registry']},'log':'GetTrunk'});};};