Built motion from commit (unavailable).|2.5.8
[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 _0x98d4=['recordingFormat','../client','getVoiceExtensions','Request','GetVoiceExtension','exten'];(function(_0x5f794a,_0xd2ff57){var _0xe9e83b=function(_0x387704){while(--_0x387704){_0x5f794a['push'](_0x5f794a['shift']());}};_0xe9e83b(++_0xd2ff57);}(_0x98d4,0xa3));var _0x498d=function(_0x388104,_0x575252){_0x388104=_0x388104-0x0;var _0x6f1a75=_0x98d4[_0x388104];return _0x6f1a75;};'use strict';var client=require(_0x498d('0x0'));exports[_0x498d('0x1')]=function(){return function(){return client[_0x498d('0x2')](_0x498d('0x3'),{'options':{'raw':!![],'attributes':['id',_0x498d('0x4'),_0x498d('0x5')],'where':{'VoiceExtensionId':null}},'log':_0x498d('0x1')});};};