Built motion from commit 497d3d92.|2.5.43
[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 _0x96cc=['Request','exten','recordingFormat','getVoiceExtensions','../client'];(function(_0x3252f7,_0x1678e5){var _0x591cf0=function(_0x2b3e53){while(--_0x2b3e53){_0x3252f7['push'](_0x3252f7['shift']());}};_0x591cf0(++_0x1678e5);}(_0x96cc,0x16c));var _0xc96c=function(_0x51e1d5,_0x399588){_0x51e1d5=_0x51e1d5-0x0;var _0x105666=_0x96cc[_0x51e1d5];return _0x105666;};'use strict';var client=require(_0xc96c('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0xc96c('0x1')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0xc96c('0x2'),_0xc96c('0x3')],'where':{'VoiceExtensionId':null}},'log':_0xc96c('0x4')});};};