Built motion from commit (unavailable).|2.5.19
[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 _0x68b7=['../client','Request','GetVoiceExtension','exten','getVoiceExtensions'];(function(_0x5de000,_0x21cbd9){var _0xc254e6=function(_0xebf752){while(--_0xebf752){_0x5de000['push'](_0x5de000['shift']());}};_0xc254e6(++_0x21cbd9);}(_0x68b7,0x8c));var _0x768b=function(_0x21988a,_0x3be0d7){_0x21988a=_0x21988a-0x0;var _0x2ce2c3=_0x68b7[_0x21988a];return _0x2ce2c3;};'use strict';var client=require(_0x768b('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0x768b('0x1')](_0x768b('0x2'),{'options':{'raw':!![],'attributes':['id',_0x768b('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x768b('0x4')});};};