b6a4d48e81186c2f092b0b540cb8bc6d082fd468
[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 _0x2f68=['GetVoiceExtension','exten','getVoiceExtensions','Request'];(function(_0x60b203,_0x4557d2){var _0x1f44cf=function(_0x5cb240){while(--_0x5cb240){_0x60b203['push'](_0x60b203['shift']());}};_0x1f44cf(++_0x4557d2);}(_0x2f68,0x9a));var _0x82f6=function(_0x57d492,_0x5444f0){_0x57d492=_0x57d492-0x0;var _0x311582=_0x2f68[_0x57d492];return _0x311582;};'use strict';var client=require('../client');exports[_0x82f6('0x0')]=function(){return function(){return client[_0x82f6('0x1')](_0x82f6('0x2'),{'options':{'raw':!![],'attributes':['id',_0x82f6('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x82f6('0x0')});};};