Built motion from commit 753c950e.|2.5.42
[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 _0x9aea=['recordingFormat','../client','Request','exten'];(function(_0x3b594b,_0x5835c3){var _0x1ea5f8=function(_0x191b3e){while(--_0x191b3e){_0x3b594b['push'](_0x3b594b['shift']());}};_0x1ea5f8(++_0x5835c3);}(_0x9aea,0xdd));var _0xa9ae=function(_0x5b2131,_0x1e3440){_0x5b2131=_0x5b2131-0x0;var _0x9ee509=_0x9aea[_0x5b2131];return _0x9ee509;};'use strict';var client=require(_0xa9ae('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0xa9ae('0x1')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0xa9ae('0x2'),_0xa9ae('0x3')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};