3fbe4bda8e2de680510c5af27981e53e592bc16f
[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 _0xe348=['recordingFormat','../client','getVoiceExtensions','GetVoiceExtension','exten'];(function(_0x541a2d,_0x286932){var _0x1fe1a8=function(_0x5582d7){while(--_0x5582d7){_0x541a2d['push'](_0x541a2d['shift']());}};_0x1fe1a8(++_0x286932);}(_0xe348,0x137));var _0x8e34=function(_0x2aa0e7,_0x4e5145){_0x2aa0e7=_0x2aa0e7-0x0;var _0x1472c0=_0xe348[_0x2aa0e7];return _0x1472c0;};'use strict';var client=require(_0x8e34('0x0'));exports[_0x8e34('0x1')]=function(){return function(){return client['Request'](_0x8e34('0x2'),{'options':{'raw':!![],'attributes':['id',_0x8e34('0x3'),_0x8e34('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x8e34('0x1')});};};