Built motion from commit 43538d75.|2.5.35
[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 _0x87f8=['exten','getVoiceExtensions','GetVoiceExtension'];(function(_0x190dbe,_0x13cb87){var _0x158330=function(_0x172fb5){while(--_0x172fb5){_0x190dbe['push'](_0x190dbe['shift']());}};_0x158330(++_0x13cb87);}(_0x87f8,0x152));var _0x887f=function(_0x129a1d,_0x222478){_0x129a1d=_0x129a1d-0x0;var _0x27f58c=_0x87f8[_0x129a1d];return _0x27f58c;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client['Request'](_0x887f('0x0'),{'options':{'raw':!![],'attributes':['id',_0x887f('0x1'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x887f('0x2')});};};