8c56a1d608bfc94abf2f5cacb873c485672934b1
[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 _0x5986=['getVoiceExtensions','Request','exten'];(function(_0x3d0de4,_0x2007ff){var _0x5f87e2=function(_0xce9e50){while(--_0xce9e50){_0x3d0de4['push'](_0x3d0de4['shift']());}};_0x5f87e2(++_0x2007ff);}(_0x5986,0x102));var _0x6598=function(_0x15113c,_0x217799){_0x15113c=_0x15113c-0x0;var _0x38147c=_0x5986[_0x15113c];return _0x38147c;};'use strict';var client=require('../client');exports[_0x6598('0x0')]=function(){return function(){return client[_0x6598('0x1')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x6598('0x2'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x6598('0x0')});};};