Built motion from commit da24aabd.|2.6.20
[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 _0xc686=['getVoiceExtensions','Request','exten'];(function(_0x27374e,_0x2c5cb3){var _0x5065f8=function(_0x5627a9){while(--_0x5627a9){_0x27374e['push'](_0x27374e['shift']());}};_0x5065f8(++_0x2c5cb3);}(_0xc686,0x148));var _0x6c68=function(_0x491a7f,_0x28bb80){_0x491a7f=_0x491a7f-0x0;var _0x3d8f44=_0xc686[_0x491a7f];return _0x3d8f44;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0x6c68('0x0')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x6c68('0x1'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x6c68('0x2')});};};