Built motion from commit 71df090e.|2.6.31
[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 _0x750a=['exten','recordingFormat','getVoiceExtensions'];(function(_0x4d8d5f,_0x3d4b92){var _0x58a8b0=function(_0x30eb74){while(--_0x30eb74){_0x4d8d5f['push'](_0x4d8d5f['shift']());}};_0x58a8b0(++_0x3d4b92);}(_0x750a,0x140));var _0xa750=function(_0x347790,_0x382fd1){_0x347790=_0x347790-0x0;var _0x43a1b6=_0x750a[_0x347790];return _0x43a1b6;};'use strict';var client=require('../client');exports[_0xa750('0x0')]=function(){return function(){return client['Request']('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0xa750('0x1'),_0xa750('0x2')],'where':{'VoiceExtensionId':null}},'log':_0xa750('0x0')});};};