Built motion from commit da617fac.|2.6.6
[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 _0x0fd9=['Request','GetVoiceExtension','exten','getVoiceExtensions'];(function(_0x30ca97,_0x2603d4){var _0x4ec15e=function(_0x391650){while(--_0x391650){_0x30ca97['push'](_0x30ca97['shift']());}};_0x4ec15e(++_0x2603d4);}(_0x0fd9,0xa3));var _0x90fd=function(_0x2300c7,_0x255f74){_0x2300c7=_0x2300c7-0x0;var _0x23f720=_0x0fd9[_0x2300c7];return _0x23f720;};'use strict';var client=require('../client');exports[_0x90fd('0x0')]=function(){return function(){return client[_0x90fd('0x1')](_0x90fd('0x2'),{'options':{'raw':!![],'attributes':['id',_0x90fd('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};