dfc25f9581c448cf212582ad683ad3b8c35426dd
[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 _0xbbce=['getVoiceExtensions','../client','GetVoiceExtension','exten','recordingFormat'];(function(_0x18ce78,_0x2423e2){var _0x36a53b=function(_0x8c9aff){while(--_0x8c9aff){_0x18ce78['push'](_0x18ce78['shift']());}};_0x36a53b(++_0x2423e2);}(_0xbbce,0xb0));var _0xebbc=function(_0x29f89a,_0x290eba){_0x29f89a=_0x29f89a-0x0;var _0x2c7429=_0xbbce[_0x29f89a];return _0x2c7429;};'use strict';var client=require(_0xebbc('0x0'));exports['getVoiceExtensions']=function(){return function(){return client['Request'](_0xebbc('0x1'),{'options':{'raw':!![],'attributes':['id',_0xebbc('0x2'),_0xebbc('0x3')],'where':{'VoiceExtensionId':null}},'log':_0xebbc('0x4')});};};