a2efa366d4405d3d73f25990bf03f4c77b3338d3
[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 _0x91a7=['Request','GetVoiceExtension','recordingFormat','getVoiceExtensions'];(function(_0x5c0acd,_0x359843){var _0x98ea82=function(_0x2d41f0){while(--_0x2d41f0){_0x5c0acd['push'](_0x5c0acd['shift']());}};_0x98ea82(++_0x359843);}(_0x91a7,0xe7));var _0x791a=function(_0x174be2,_0x2f9fd5){_0x174be2=_0x174be2-0x0;var _0x2e5323=_0x91a7[_0x174be2];return _0x2e5323;};'use strict';var client=require('../client');exports[_0x791a('0x0')]=function(){return function(){return client[_0x791a('0x1')](_0x791a('0x2'),{'options':{'raw':!![],'attributes':['id','exten',_0x791a('0x3')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};