Built motion from commit (unavailable).|2.5.3
[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 _0xb404=['exten','recordingFormat','getVoiceExtensions','../client','Request','GetVoiceExtension'];(function(_0x1046ba,_0x17699d){var _0x31ae08=function(_0x4c737d){while(--_0x4c737d){_0x1046ba['push'](_0x1046ba['shift']());}};_0x31ae08(++_0x17699d);}(_0xb404,0x123));var _0x4b40=function(_0xd913db,_0x892450){_0xd913db=_0xd913db-0x0;var _0x1c4b61=_0xb404[_0xd913db];return _0x1c4b61;};'use strict';var client=require(_0x4b40('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0x4b40('0x1')](_0x4b40('0x2'),{'options':{'raw':!![],'attributes':['id',_0x4b40('0x3'),_0x4b40('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x4b40('0x5')});};};