0e14150e52d7166f98ca20e0e898a3bd93103c16
[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 _0xaaa2=['Request','GetVoiceExtension','exten','recordingFormat','../client','getVoiceExtensions'];(function(_0x4b7895,_0x3c4f5d){var _0x264180=function(_0xe0e861){while(--_0xe0e861){_0x4b7895['push'](_0x4b7895['shift']());}};_0x264180(++_0x3c4f5d);}(_0xaaa2,0xac));var _0x2aaa=function(_0x542db8,_0x4ac38e){_0x542db8=_0x542db8-0x0;var _0x1bbd1d=_0xaaa2[_0x542db8];return _0x1bbd1d;};'use strict';var client=require(_0x2aaa('0x0'));exports[_0x2aaa('0x1')]=function(){return function(){return client[_0x2aaa('0x2')](_0x2aaa('0x3'),{'options':{'raw':!![],'attributes':['id',_0x2aaa('0x4'),_0x2aaa('0x5')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};