a7f65188cc14b5f88798eaf13e20fd0514cee400
[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 _0x2242=['getVoiceExtensions','Request','exten','recordingFormat','../client'];(function(_0x5ee86b,_0x30931c){var _0x12c922=function(_0xc1a3a6){while(--_0xc1a3a6){_0x5ee86b['push'](_0x5ee86b['shift']());}};_0x12c922(++_0x30931c);}(_0x2242,0x1a3));var _0x2224=function(_0x1993f1,_0x3c7a07){_0x1993f1=_0x1993f1-0x0;var _0x5e5f4a=_0x2242[_0x1993f1];return _0x5e5f4a;};'use strict';var client=require(_0x2224('0x0'));exports[_0x2224('0x1')]=function(){return function(){return client[_0x2224('0x2')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x2224('0x3'),_0x2224('0x4')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};