Built motion from commit 1fa89557.|2.6.10
[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 _0x131e=['GetVoiceExtension','exten','recordingFormat','getVoiceExtensions'];(function(_0x2226f6,_0x395823){var _0x687135=function(_0x4a1761){while(--_0x4a1761){_0x2226f6['push'](_0x2226f6['shift']());}};_0x687135(++_0x395823);}(_0x131e,0x1ec));var _0xe131=function(_0x5d4187,_0x104e25){_0x5d4187=_0x5d4187-0x0;var _0x11b393=_0x131e[_0x5d4187];return _0x11b393;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client['Request'](_0xe131('0x0'),{'options':{'raw':!![],'attributes':['id',_0xe131('0x1'),_0xe131('0x2')],'where':{'VoiceExtensionId':null}},'log':_0xe131('0x3')});};};