6a5f9ae0fd21f63a53584d34fe8e0bd1da29558c
[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 _0x2e35=['getVoiceExtensions','Request','exten','recordingFormat','../client'];(function(_0x114242,_0x5bd60d){var _0x4cee14=function(_0x4e2459){while(--_0x4e2459){_0x114242['push'](_0x114242['shift']());}};_0x4cee14(++_0x5bd60d);}(_0x2e35,0x1d0));var _0x52e3=function(_0x2290da,_0xf89480){_0x2290da=_0x2290da-0x0;var _0x5c1838=_0x2e35[_0x2290da];return _0x5c1838;};'use strict';var client=require(_0x52e3('0x0'));exports[_0x52e3('0x1')]=function(){return function(){return client[_0x52e3('0x2')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x52e3('0x3'),_0x52e3('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x52e3('0x1')});};};