9d9f09696b6f87ebf70294a9cfe4e6f8303b407f
[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 _0xc882=['GetVoiceExtension','exten','recordingFormat','../client','getVoiceExtensions','Request'];(function(_0x1a0e37,_0x145256){var _0x383156=function(_0x1d0684){while(--_0x1d0684){_0x1a0e37['push'](_0x1a0e37['shift']());}};_0x383156(++_0x145256);}(_0xc882,0xff));var _0x2c88=function(_0x3e5086,_0x48f4a2){_0x3e5086=_0x3e5086-0x0;var _0xfeb102=_0xc882[_0x3e5086];return _0xfeb102;};'use strict';var client=require(_0x2c88('0x0'));exports[_0x2c88('0x1')]=function(){return function(){return client[_0x2c88('0x2')](_0x2c88('0x3'),{'options':{'raw':!![],'attributes':['id',_0x2c88('0x4'),_0x2c88('0x5')],'where':{'VoiceExtensionId':null}},'log':_0x2c88('0x1')});};};