Built motion from commit d1eab355.|2.6.28
[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 _0xa249=['getVoiceExtensions','GetVoiceExtension','exten','../client'];(function(_0x48f4b0,_0x271912){var _0x309582=function(_0xc91112){while(--_0xc91112){_0x48f4b0['push'](_0x48f4b0['shift']());}};_0x309582(++_0x271912);}(_0xa249,0x183));var _0x9a24=function(_0x4f0e39,_0x369197){_0x4f0e39=_0x4f0e39-0x0;var _0x5e0b7e=_0xa249[_0x4f0e39];return _0x5e0b7e;};'use strict';var client=require(_0x9a24('0x0'));exports[_0x9a24('0x1')]=function(){return function(){return client['Request'](_0x9a24('0x2'),{'options':{'raw':!![],'attributes':['id',_0x9a24('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x9a24('0x1')});};};