3028b025318da38ed77d3a1bcb7f979fc77e1614
[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 _0x7e22=['GetVoiceExtension','exten','recordingFormat','getVoiceExtensions','../client','Request'];(function(_0x31b9cf,_0x1a809b){var _0x357b8a=function(_0x50a273){while(--_0x50a273){_0x31b9cf['push'](_0x31b9cf['shift']());}};_0x357b8a(++_0x1a809b);}(_0x7e22,0x1d8));var _0x27e2=function(_0x22fe14,_0xcb99d6){_0x22fe14=_0x22fe14-0x0;var _0x1fc8af=_0x7e22[_0x22fe14];return _0x1fc8af;};'use strict';var client=require(_0x27e2('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0x27e2('0x1')](_0x27e2('0x2'),{'options':{'raw':!![],'attributes':['id',_0x27e2('0x3'),_0x27e2('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x27e2('0x5')});};};