Built motion from commit a134ab58.|2.6.29
[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 _0x750a=['exten','recordingFormat','getVoiceExtensions'];(function(_0x234268,_0x4037a8){var _0x200605=function(_0x1d5063){while(--_0x1d5063){_0x234268['push'](_0x234268['shift']());}};_0x200605(++_0x4037a8);}(_0x750a,0x140));var _0xa750=function(_0x13c052,_0x25c434){_0x13c052=_0x13c052-0x0;var _0x11de4f=_0x750a[_0x13c052];return _0x11de4f;};'use strict';var client=require('../client');exports[_0xa750('0x0')]=function(){return function(){return client['Request']('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0xa750('0x1'),_0xa750('0x2')],'where':{'VoiceExtensionId':null}},'log':_0xa750('0x0')});};};