ee42cff1a761ee18eaeff2e66122bbba89d42bf5
[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 _0xd84c=['../client','getVoiceExtensions','Request','GetVoiceExtension','exten','recordingFormat'];(function(_0x505de5,_0x41b3bb){var _0x45ffeb=function(_0x2ca66c){while(--_0x2ca66c){_0x505de5['push'](_0x505de5['shift']());}};_0x45ffeb(++_0x41b3bb);}(_0xd84c,0x102));var _0xcd84=function(_0x336ce7,_0x3f830c){_0x336ce7=_0x336ce7-0x0;var _0x359d9b=_0xd84c[_0x336ce7];return _0x359d9b;};'use strict';var client=require(_0xcd84('0x0'));exports[_0xcd84('0x1')]=function(){return function(){return client[_0xcd84('0x2')](_0xcd84('0x3'),{'options':{'raw':!![],'attributes':['id',_0xcd84('0x4'),_0xcd84('0x5')],'where':{'VoiceExtensionId':null}},'log':_0xcd84('0x1')});};};