646b84235f920c433d6a842edff4bdb3cceeaf56
[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 _0x8cfd=['../client','getVoiceExtensions','Request','GetVoiceExtension','exten','recordingFormat'];(function(_0x35af2e,_0x25f3ec){var _0x1e7215=function(_0x53a3f9){while(--_0x53a3f9){_0x35af2e['push'](_0x35af2e['shift']());}};_0x1e7215(++_0x25f3ec);}(_0x8cfd,0xe4));var _0xd8cf=function(_0x4a34e0,_0x29ff2f){_0x4a34e0=_0x4a34e0-0x0;var _0xb5ce1d=_0x8cfd[_0x4a34e0];return _0xb5ce1d;};'use strict';var client=require(_0xd8cf('0x0'));exports[_0xd8cf('0x1')]=function(){return function(){return client[_0xd8cf('0x2')](_0xd8cf('0x3'),{'options':{'raw':!![],'attributes':['id',_0xd8cf('0x4'),_0xd8cf('0x5')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};