224857130e478aa16598c24cbb09faf020a706b2
[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 _0xd9cc=['exten','../client','getVoiceExtensions','Request','GetVoiceExtension'];(function(_0x1caf6a,_0x26a5bf){var _0x1bf493=function(_0x3982f5){while(--_0x3982f5){_0x1caf6a['push'](_0x1caf6a['shift']());}};_0x1bf493(++_0x26a5bf);}(_0xd9cc,0x1e1));var _0xcd9c=function(_0xe6ed39,_0x2e11fa){_0xe6ed39=_0xe6ed39-0x0;var _0x5922eb=_0xd9cc[_0xe6ed39];return _0x5922eb;};'use strict';var client=require(_0xcd9c('0x0'));exports[_0xcd9c('0x1')]=function(){return function(){return client[_0xcd9c('0x2')](_0xcd9c('0x3'),{'options':{'raw':!![],'attributes':['id',_0xcd9c('0x4'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0xcd9c('0x1')});};};