Built motion from commit (unavailable).|2.5.8
[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 _0xec3e=['../client','Request','GetTrunk','name'];(function(_0x1ca5db,_0x765150){var _0x1df88e=function(_0x1d8fd5){while(--_0x1d8fd5){_0x1ca5db['push'](_0x1ca5db['shift']());}};_0x1df88e(++_0x765150);}(_0xec3e,0x74));var _0xeec3=function(_0x1da9b2,_0x16f572){_0x1da9b2=_0x1da9b2-0x0;var _0x19f1a5=_0xec3e[_0x1da9b2];return _0x19f1a5;};'use strict';var client=require(_0xeec3('0x0'));exports['getTrunks']=function(_0x1be691){return function(_0xae4c1){return client[_0xeec3('0x1')](_0xeec3('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xeec3('0x3'),'registry']},'log':'GetTrunk'});};};