Built motion from commit 10af8726.|2.6.34
[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 _0xf323=['recordingFormat','getVoiceExtensions','Request','GetVoiceExtension'];(function(_0xfc3426,_0xd655aa){var _0xd0eeee=function(_0x8a8b70){while(--_0x8a8b70){_0xfc3426['push'](_0xfc3426['shift']());}};_0xd0eeee(++_0xd655aa);}(_0xf323,0x1c6));var _0x3f32=function(_0xd32242,_0x48fe09){_0xd32242=_0xd32242-0x0;var _0x4d6ea3=_0xf323[_0xd32242];return _0x4d6ea3;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0x3f32('0x0')](_0x3f32('0x1'),{'options':{'raw':!![],'attributes':['id','exten',_0x3f32('0x2')],'where':{'VoiceExtensionId':null}},'log':_0x3f32('0x3')});};};