Built motion from commit f0b1811d.|2.6.6
[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 _0xe3ee=['GetVoiceExtension','getVoiceExtensions','Request'];(function(_0x24c396,_0x2c9192){var _0x148e0c=function(_0x5ca55a){while(--_0x5ca55a){_0x24c396['push'](_0x24c396['shift']());}};_0x148e0c(++_0x2c9192);}(_0xe3ee,0x116));var _0xee3e=function(_0x53b3e0,_0x522724){_0x53b3e0=_0x53b3e0-0x0;var _0x1fd4ce=_0xe3ee[_0x53b3e0];return _0x1fd4ce;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0xee3e('0x0')](_0xee3e('0x1'),{'options':{'raw':!![],'attributes':['id','exten','recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0xee3e('0x2')});};};