20b560696c22c554af94a42a78abea4f1071e8b8
[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 _0xdbf0=['Request','GetVoiceExtension','exten','getVoiceExtensions'];(function(_0x162780,_0x47f2e2){var _0x1ea2dc=function(_0x123898){while(--_0x123898){_0x162780['push'](_0x162780['shift']());}};_0x1ea2dc(++_0x47f2e2);}(_0xdbf0,0x1db));var _0x0dbf=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0xdbf0[_0x4a9fb1];return _0x348672;};'use strict';var client=require('../client');exports[_0x0dbf('0x0')]=function(){return function(){return client[_0x0dbf('0x1')](_0x0dbf('0x2'),{'options':{'raw':!![],'attributes':['id',_0x0dbf('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x0dbf('0x0')});};};