3500370add070023fe351f531efa0d4f83bccffc
[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 _0xd4b6=['getVoiceExtensions','GetVoiceExtension','exten','../client'];(function(_0x1bd9cf,_0x467047){var _0x558530=function(_0x23d9c3){while(--_0x23d9c3){_0x1bd9cf['push'](_0x1bd9cf['shift']());}};_0x558530(++_0x467047);}(_0xd4b6,0x13f));var _0x6d4b=function(_0xca740b,_0x115836){_0xca740b=_0xca740b-0x0;var _0x505a48=_0xd4b6[_0xca740b];return _0x505a48;};'use strict';var client=require(_0x6d4b('0x0'));exports[_0x6d4b('0x1')]=function(){return function(){return client['Request'](_0x6d4b('0x2'),{'options':{'raw':!![],'attributes':['id',_0x6d4b('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x6d4b('0x1')});};};