2ad8d08175e9e894e21f66a869d212f0b026b9f1
[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 _0x5106=['exten','recordingFormat','../client','Request'];(function(_0x14f78b,_0x237fa9){var _0x48cd1c=function(_0x17cfe2){while(--_0x17cfe2){_0x14f78b['push'](_0x14f78b['shift']());}};_0x48cd1c(++_0x237fa9);}(_0x5106,0x116));var _0x6510=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x5106[_0x40a045];return _0x1a687c;};'use strict';var client=require(_0x6510('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0x6510('0x1')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x6510('0x2'),_0x6510('0x3')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};