Built motion from commit e6806ed6.|2.6.0
[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 _0x3299=['Request','GetVoiceExtension','exten','recordingFormat','getVoiceExtensions'];(function(_0x119280,_0x439c3e){var _0x481797=function(_0x4265cb){while(--_0x4265cb){_0x119280['push'](_0x119280['shift']());}};_0x481797(++_0x439c3e);}(_0x3299,0x1bc));var _0x9329=function(_0x2439c5,_0x31d0f7){_0x2439c5=_0x2439c5-0x0;var _0x425334=_0x3299[_0x2439c5];return _0x425334;};'use strict';var client=require('../client');exports[_0x9329('0x0')]=function(){return function(){return client[_0x9329('0x1')](_0x9329('0x2'),{'options':{'raw':!![],'attributes':['id',_0x9329('0x3'),_0x9329('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x9329('0x0')});};};