Built motion from commit d5e4af8c.|2.6.23
[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 _0x6075=['GetVoiceExtension','exten','../client','getVoiceExtensions'];(function(_0x243b2f,_0x30aa15){var _0xcb3c2d=function(_0x213bb2){while(--_0x213bb2){_0x243b2f['push'](_0x243b2f['shift']());}};_0xcb3c2d(++_0x30aa15);}(_0x6075,0x142));var _0x5607=function(_0xb8aff7,_0x2dcc58){_0xb8aff7=_0xb8aff7-0x0;var _0x427f35=_0x6075[_0xb8aff7];return _0x427f35;};'use strict';var client=require(_0x5607('0x0'));exports[_0x5607('0x1')]=function(){return function(){return client['Request'](_0x5607('0x2'),{'options':{'raw':!![],'attributes':['id',_0x5607('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};