c2a79d6f07faa3a89389a607e378c570c429a5ca
[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 _0x41bb=['recordingFormat','../client','getVoiceExtensions','GetVoiceExtension'];(function(_0x3943cf,_0x184002){var _0x645a39=function(_0x2f6adf){while(--_0x2f6adf){_0x3943cf['push'](_0x3943cf['shift']());}};_0x645a39(++_0x184002);}(_0x41bb,0xc5));var _0xb41b=function(_0x450c5f,_0x42e9ed){_0x450c5f=_0x450c5f-0x0;var _0x31d3b6=_0x41bb[_0x450c5f];return _0x31d3b6;};'use strict';var client=require(_0xb41b('0x0'));exports[_0xb41b('0x1')]=function(){return function(){return client['Request'](_0xb41b('0x2'),{'options':{'raw':!![],'attributes':['id','exten',_0xb41b('0x3')],'where':{'VoiceExtensionId':null}},'log':_0xb41b('0x1')});};};