Built motion from commit 9e1399f3.|2.5.37
[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 _0x1789=['recordingFormat','../client','getVoiceExtensions','Request','exten'];(function(_0x12d1f0,_0x3bdf59){var _0x23e3df=function(_0xd16da7){while(--_0xd16da7){_0x12d1f0['push'](_0x12d1f0['shift']());}};_0x23e3df(++_0x3bdf59);}(_0x1789,0x92));var _0x9178=function(_0x5bd044,_0xafd5fa){_0x5bd044=_0x5bd044-0x0;var _0x582fd7=_0x1789[_0x5bd044];return _0x582fd7;};'use strict';var client=require(_0x9178('0x0'));exports[_0x9178('0x1')]=function(){return function(){return client[_0x9178('0x2')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x9178('0x3'),_0x9178('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x9178('0x1')});};};