Built motion from commit 25580385.|2.6.2
[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 _0xf194=['../client','getVoiceExtensions','Request','GetVoiceExtension','recordingFormat'];(function(_0x24a158,_0x51d27c){var _0x4febef=function(_0x354513){while(--_0x354513){_0x24a158['push'](_0x24a158['shift']());}};_0x4febef(++_0x51d27c);}(_0xf194,0x91));var _0x4f19=function(_0x215155,_0x286d9e){_0x215155=_0x215155-0x0;var _0x24d961=_0xf194[_0x215155];return _0x24d961;};'use strict';var client=require(_0x4f19('0x0'));exports[_0x4f19('0x1')]=function(){return function(){return client[_0x4f19('0x2')](_0x4f19('0x3'),{'options':{'raw':!![],'attributes':['id','exten',_0x4f19('0x4')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};