c739d785eabed1d9ffbd051216288aa5ba3cad79
[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 _0x63c6=['getVoiceExtensions','exten','recordingFormat','../client'];(function(_0x109713,_0x5c3d27){var _0x56f3ae=function(_0x2b89de){while(--_0x2b89de){_0x109713['push'](_0x109713['shift']());}};_0x56f3ae(++_0x5c3d27);}(_0x63c6,0xbb));var _0x663c=function(_0xc15415,_0x47463c){_0xc15415=_0xc15415-0x0;var _0x426de5=_0x63c6[_0xc15415];return _0x426de5;};'use strict';var client=require(_0x663c('0x0'));exports[_0x663c('0x1')]=function(){return function(){return client['Request']('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x663c('0x2'),_0x663c('0x3')],'where':{'VoiceExtensionId':null}},'log':_0x663c('0x1')});};};