e13c8515d5da136d7308c5e834b10441e781347a
[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 _0x644a=['Request','GetVoiceExtension','exten','../client','getVoiceExtensions'];(function(_0xf02a38,_0x264f61){var _0x33c0bf=function(_0x167977){while(--_0x167977){_0xf02a38['push'](_0xf02a38['shift']());}};_0x33c0bf(++_0x264f61);}(_0x644a,0xfd));var _0xa644=function(_0xdc0e64,_0x38bf67){_0xdc0e64=_0xdc0e64-0x0;var _0xb04e82=_0x644a[_0xdc0e64];return _0xb04e82;};'use strict';var client=require(_0xa644('0x0'));exports[_0xa644('0x1')]=function(){return function(){return client[_0xa644('0x2')](_0xa644('0x3'),{'options':{'raw':!![],'attributes':['id',_0xa644('0x4'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0xa644('0x1')});};};