Built motion from commit (unavailable).|2.5.17
[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 _0x78b1=['Request','name','GetTrunk','../client','getTrunks'];(function(_0x4487f3,_0x281248){var _0x34a15d=function(_0x2bb3ed){while(--_0x2bb3ed){_0x4487f3['push'](_0x4487f3['shift']());}};_0x34a15d(++_0x281248);}(_0x78b1,0x85));var _0x178b=function(_0x3da25a,_0x491700){_0x3da25a=_0x3da25a-0x0;var _0x1f21c7=_0x78b1[_0x3da25a];return _0x1f21c7;};'use strict';var client=require(_0x178b('0x0'));exports[_0x178b('0x1')]=function(_0x29f9d9){return function(_0x3114d0){return client[_0x178b('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x178b('0x3'),'registry']},'log':_0x178b('0x4')});};};