416d13eeb00d9972298c4351c908503a934fd939
[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 _0x3667=['../client','getVoiceExtensions','Request','GetVoiceExtension','exten'];(function(_0x562143,_0x1a5111){var _0x2ac3e1=function(_0x1b77a5){while(--_0x1b77a5){_0x562143['push'](_0x562143['shift']());}};_0x2ac3e1(++_0x1a5111);}(_0x3667,0xcd));var _0x7366=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3667[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x7366('0x0'));exports[_0x7366('0x1')]=function(){return function(){return client[_0x7366('0x2')](_0x7366('0x3'),{'options':{'raw':!![],'attributes':['id',_0x7366('0x4'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x7366('0x1')});};};