Built motion from commit 9d0783e6.|2.6.13
[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 _0x9354=['exten','recordingFormat','getVoiceExtensions','Request'];(function(_0x589fb1,_0x5d8fb5){var _0x12195c=function(_0x2f9a9c){while(--_0x2f9a9c){_0x589fb1['push'](_0x589fb1['shift']());}};_0x12195c(++_0x5d8fb5);}(_0x9354,0x96));var _0x4935=function(_0xb7a459,_0xc13228){_0xb7a459=_0xb7a459-0x0;var _0x104ab5=_0x9354[_0xb7a459];return _0x104ab5;};'use strict';var client=require('../client');exports[_0x4935('0x0')]=function(){return function(){return client[_0x4935('0x1')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x4935('0x2'),_0x4935('0x3')],'where':{'VoiceExtensionId':null}},'log':_0x4935('0x0')});};};