Built motion from commit (unavailable).|2.5.4
[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 _0x287b=['GetVoiceExtension','exten','../client','Request'];(function(_0x3321f6,_0x347189){var _0xebe28d=function(_0x3172ad){while(--_0x3172ad){_0x3321f6['push'](_0x3321f6['shift']());}};_0xebe28d(++_0x347189);}(_0x287b,0x96));var _0xb287=function(_0x135904,_0x1e252b){_0x135904=_0x135904-0x0;var _0x1ce7d5=_0x287b[_0x135904];return _0x1ce7d5;};'use strict';var client=require(_0xb287('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0xb287('0x1')](_0xb287('0x2'),{'options':{'raw':!![],'attributes':['id',_0xb287('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};