Built motion from commit (unavailable).|2.5.22
[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 _0x0972=['recordingFormat','getVoiceExtensions','GetVoiceExtension'];(function(_0x3f33d1,_0x61ab6b){var _0x5ad48f=function(_0x42acdd){while(--_0x42acdd){_0x3f33d1['push'](_0x3f33d1['shift']());}};_0x5ad48f(++_0x61ab6b);}(_0x0972,0x64));var _0x2097=function(_0x43613a,_0x18c02f){_0x43613a=_0x43613a-0x0;var _0x501f59=_0x0972[_0x43613a];return _0x501f59;};'use strict';var client=require('../client');exports[_0x2097('0x0')]=function(){return function(){return client['Request'](_0x2097('0x1'),{'options':{'raw':!![],'attributes':['id','exten',_0x2097('0x2')],'where':{'VoiceExtensionId':null}},'log':_0x2097('0x0')});};};