Built motion from commit e02f907f.|2.6.14
[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 _0xce3a=['exten','recordingFormat','../client','getVoiceExtensions','Request','GetVoiceExtension'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0xce3a,0x194));var _0xace3=function(_0x4fbf17,_0x100bc2){_0x4fbf17=_0x4fbf17-0x0;var _0x1d0665=_0xce3a[_0x4fbf17];return _0x1d0665;};'use strict';var client=require(_0xace3('0x0'));exports[_0xace3('0x1')]=function(){return function(){return client[_0xace3('0x2')](_0xace3('0x3'),{'options':{'raw':!![],'attributes':['id',_0xace3('0x4'),_0xace3('0x5')],'where':{'VoiceExtensionId':null}},'log':_0xace3('0x1')});};};