65c8903fbbdee4bada6c6917aaec63d35b9ff121
[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 _0xe3db=['../client','getVoiceExtensions','GetVoiceExtension','exten','recordingFormat'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0xe3db,0xc8));var _0xbe3d=function(_0x1d1115,_0x1e3741){_0x1d1115=_0x1d1115-0x0;var _0x5e996c=_0xe3db[_0x1d1115];return _0x5e996c;};'use strict';var client=require(_0xbe3d('0x0'));exports[_0xbe3d('0x1')]=function(){return function(){return client['Request'](_0xbe3d('0x2'),{'options':{'raw':!![],'attributes':['id',_0xbe3d('0x3'),_0xbe3d('0x4')],'where':{'VoiceExtensionId':null}},'log':_0xbe3d('0x1')});};};