9bac5162b3bf00465dbc475a34630c8d6c655541
[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 _0x4e34=['Request','GetVoiceExtension','getVoiceExtensions'];(function(_0x46750d,_0x1573a8){var _0x5ba12a=function(_0x3ffa7c){while(--_0x3ffa7c){_0x46750d['push'](_0x46750d['shift']());}};_0x5ba12a(++_0x1573a8);}(_0x4e34,0x19e));var _0x44e3=function(_0x5ee287,_0x2e5f1e){_0x5ee287=_0x5ee287-0x0;var _0x24bfa0=_0x4e34[_0x5ee287];return _0x24bfa0;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0x44e3('0x0')](_0x44e3('0x1'),{'options':{'raw':!![],'attributes':['id','exten','recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x44e3('0x2')});};};