Built motion from commit 639a1a7f.|2.6.19
[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 _0x1123=['Request','exten','recordingFormat','getVoiceExtensions'];(function(_0x44aad3,_0xaef2a){var _0x257efd=function(_0x47dadd){while(--_0x47dadd){_0x44aad3['push'](_0x44aad3['shift']());}};_0x257efd(++_0xaef2a);}(_0x1123,0x118));var _0x3112=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0x1123[_0x138adb];return _0x1b27f2;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0x3112('0x0')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x3112('0x1'),_0x3112('0x2')],'where':{'VoiceExtensionId':null}},'log':_0x3112('0x3')});};};