Built motion from commit b5413ace.|2.6.9
[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 _0xa45c=['exten','../client','getVoiceExtensions'];(function(_0x5e0890,_0x29d31f){var _0xda3c4d=function(_0x298395){while(--_0x298395){_0x5e0890['push'](_0x5e0890['shift']());}};_0xda3c4d(++_0x29d31f);}(_0xa45c,0x6d));var _0xca45=function(_0x67cd50,_0x57bede){_0x67cd50=_0x67cd50-0x0;var _0x198f52=_0xa45c[_0x67cd50];return _0x198f52;};'use strict';var client=require(_0xca45('0x0'));exports[_0xca45('0x1')]=function(){return function(){return client['Request']('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0xca45('0x2'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0xca45('0x1')});};};