Built motion from commit (unavailable).|2.5.21
[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 _0xb8a0=['recordingFormat','Request','GetVoiceExtension'];(function(_0xbd08b4,_0x4790ed){var _0x314f1e=function(_0x161589){while(--_0x161589){_0xbd08b4['push'](_0xbd08b4['shift']());}};_0x314f1e(++_0x4790ed);}(_0xb8a0,0x1d5));var _0x0b8a=function(_0x11a35b,_0x40a933){_0x11a35b=_0x11a35b-0x0;var _0xbd00e0=_0xb8a0[_0x11a35b];return _0xbd00e0;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0x0b8a('0x0')](_0x0b8a('0x1'),{'options':{'raw':!![],'attributes':['id','exten',_0x0b8a('0x2')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};