8a98ed2226d4e6c088c74f7cc90d4de5209931f0
[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 _0x6351=['GetVoiceExtension','exten','recordingFormat','../client','getVoiceExtensions','Request'];(function(_0x201842,_0x2be55e){var _0x2f3a07=function(_0x159592){while(--_0x159592){_0x201842['push'](_0x201842['shift']());}};_0x2f3a07(++_0x2be55e);}(_0x6351,0x12f));var _0x1635=function(_0x73e726,_0x5a9c29){_0x73e726=_0x73e726-0x0;var _0x261d0c=_0x6351[_0x73e726];return _0x261d0c;};'use strict';var client=require(_0x1635('0x0'));exports[_0x1635('0x1')]=function(){return function(){return client[_0x1635('0x2')](_0x1635('0x3'),{'options':{'raw':!![],'attributes':['id',_0x1635('0x4'),_0x1635('0x5')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};