Built motion from commit ffdca78c.|2.6.24
[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 _0x8bdf=['Request','GetVoiceExtension','exten','../client','getVoiceExtensions'];(function(_0x105d8e,_0x400fda){var _0x1a2897=function(_0x17cd8c){while(--_0x17cd8c){_0x105d8e['push'](_0x105d8e['shift']());}};_0x1a2897(++_0x400fda);}(_0x8bdf,0x1a7));var _0xf8bd=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x8bdf[_0x5ddb1c];return _0x354adc;};'use strict';var client=require(_0xf8bd('0x0'));exports[_0xf8bd('0x1')]=function(){return function(){return client[_0xf8bd('0x2')](_0xf8bd('0x3'),{'options':{'raw':!![],'attributes':['id',_0xf8bd('0x4'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0xf8bd('0x1')});};};