614235a270ff55b937229a440c2fdadef57832c8
[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 _0x1152=['exten','recordingFormat','../client','getVoiceExtensions','Request','GetVoiceExtension'];(function(_0xa388a2,_0x40bde6){var _0x7ce7f6=function(_0x5a242a){while(--_0x5a242a){_0xa388a2['push'](_0xa388a2['shift']());}};_0x7ce7f6(++_0x40bde6);}(_0x1152,0x182));var _0x2115=function(_0x5b2155,_0x11bf44){_0x5b2155=_0x5b2155-0x0;var _0x1fd657=_0x1152[_0x5b2155];return _0x1fd657;};'use strict';var client=require(_0x2115('0x0'));exports[_0x2115('0x1')]=function(){return function(){return client[_0x2115('0x2')](_0x2115('0x3'),{'options':{'raw':!![],'attributes':['id',_0x2115('0x4'),_0x2115('0x5')],'where':{'VoiceExtensionId':null}},'log':_0x2115('0x1')});};};