0a68c4862af7ab523cb422226d05c500c4a56102
[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 _0xfb3f=['GetVoiceExtension','../client','getVoiceExtensions'];(function(_0x54edcf,_0x1ff4fc){var _0x4a394a=function(_0x495d83){while(--_0x495d83){_0x54edcf['push'](_0x54edcf['shift']());}};_0x4a394a(++_0x1ff4fc);}(_0xfb3f,0xd9));var _0xffb3=function(_0x4841f6,_0x44edef){_0x4841f6=_0x4841f6-0x0;var _0x474154=_0xfb3f[_0x4841f6];return _0x474154;};'use strict';var client=require(_0xffb3('0x0'));exports[_0xffb3('0x1')]=function(){return function(){return client['Request'](_0xffb3('0x2'),{'options':{'raw':!![],'attributes':['id','exten','recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0xffb3('0x1')});};};