8f0e32a6a2d3315dc1552f7f22ca6b84e61d87c4
[motion2.git] / server / services / ami / rpc / voiceExtension.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 _0x1bc6=['Request','GetVoiceExtension','exten','recordingFormat','../client','getVoiceExtensions'];(function(_0x483e77,_0x433e9b){var _0x359df0=function(_0x3c3d57){while(--_0x3c3d57){_0x483e77['push'](_0x483e77['shift']());}};_0x359df0(++_0x433e9b);}(_0x1bc6,0x94));var _0x61bc=function(_0x3ac360,_0xca0590){_0x3ac360=_0x3ac360-0x0;var _0x19fedc=_0x1bc6[_0x3ac360];return _0x19fedc;};'use strict';var client=require(_0x61bc('0x0'));exports[_0x61bc('0x1')]=function(){return function(){return client[_0x61bc('0x2')](_0x61bc('0x3'),{'options':{'raw':!![],'attributes':['id',_0x61bc('0x4'),_0x61bc('0x5')],'where':{'VoiceExtensionId':null}},'log':_0x61bc('0x1')});};};