Built motion from commit 0900f080.|2.5.45
[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 _0x6ae2=['recordingFormat','../client','getVoiceExtensions','Request','GetVoiceExtension','exten'];(function(_0xd7a493,_0x27af27){var _0x3f127d=function(_0x5b8959){while(--_0x5b8959){_0xd7a493['push'](_0xd7a493['shift']());}};_0x3f127d(++_0x27af27);}(_0x6ae2,0x1ed));var _0x26ae=function(_0x45fcf7,_0x5cfb08){_0x45fcf7=_0x45fcf7-0x0;var _0x1b4a8e=_0x6ae2[_0x45fcf7];return _0x1b4a8e;};'use strict';var client=require(_0x26ae('0x0'));exports[_0x26ae('0x1')]=function(){return function(){return client[_0x26ae('0x2')](_0x26ae('0x3'),{'options':{'raw':!![],'attributes':['id',_0x26ae('0x4'),_0x26ae('0x5')],'where':{'VoiceExtensionId':null}},'log':_0x26ae('0x1')});};};