3ae061ae3001defaf8d6b440e2ed2c46ef0bd78b
[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 _0x24cf=['GetVoiceExtension','exten','recordingFormat','getVoiceExtensions','Request'];(function(_0x569ebc,_0x415cde){var _0xacee87=function(_0x12b390){while(--_0x12b390){_0x569ebc['push'](_0x569ebc['shift']());}};_0xacee87(++_0x415cde);}(_0x24cf,0x1d5));var _0xf24c=function(_0x5c19bc,_0x47bf53){_0x5c19bc=_0x5c19bc-0x0;var _0x43ad37=_0x24cf[_0x5c19bc];return _0x43ad37;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0xf24c('0x0')](_0xf24c('0x1'),{'options':{'raw':!![],'attributes':['id',_0xf24c('0x2'),_0xf24c('0x3')],'where':{'VoiceExtensionId':null}},'log':_0xf24c('0x4')});};};