3a25af31cb94f4d2e8ed45ec9fa976b682338169
[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 _0xf403=['Request','GetVoiceExtension','exten','recordingFormat','getVoiceExtensions','../client'];(function(_0x34f661,_0x3a994c){var _0x3924e0=function(_0x463001){while(--_0x463001){_0x34f661['push'](_0x34f661['shift']());}};_0x3924e0(++_0x3a994c);}(_0xf403,0x1d3));var _0x3f40=function(_0xcc3885,_0x305c76){_0xcc3885=_0xcc3885-0x0;var _0x23573e=_0xf403[_0xcc3885];return _0x23573e;};'use strict';var client=require(_0x3f40('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0x3f40('0x1')](_0x3f40('0x2'),{'options':{'raw':!![],'attributes':['id',_0x3f40('0x3'),_0x3f40('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x3f40('0x5')});};};