Built motion from commit f7863d46.|2.5.41
[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 _0xec56=['../client','GetVoiceExtension','exten','recordingFormat','getVoiceExtensions'];(function(_0x252875,_0x3d4d96){var _0x426a5d=function(_0x389c0c){while(--_0x389c0c){_0x252875['push'](_0x252875['shift']());}};_0x426a5d(++_0x3d4d96);}(_0xec56,0x1bd));var _0x6ec5=function(_0x2b9161,_0x5614c1){_0x2b9161=_0x2b9161-0x0;var _0x2c42b0=_0xec56[_0x2b9161];return _0x2c42b0;};'use strict';var client=require(_0x6ec5('0x0'));exports['getVoiceExtensions']=function(){return function(){return client['Request'](_0x6ec5('0x1'),{'options':{'raw':!![],'attributes':['id',_0x6ec5('0x2'),_0x6ec5('0x3')],'where':{'VoiceExtensionId':null}},'log':_0x6ec5('0x4')});};};