Built motion from commit (unavailable).|2.5.7
[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 _0x340e=['../client','Request','recordingFormat','getVoiceExtensions'];(function(_0x3f8838,_0x4452c6){var _0x20aea5=function(_0x2b0571){while(--_0x2b0571){_0x3f8838['push'](_0x3f8838['shift']());}};_0x20aea5(++_0x4452c6);}(_0x340e,0x1dc));var _0xe340=function(_0x3c93b9,_0x4d2788){_0x3c93b9=_0x3c93b9-0x0;var _0x7818a2=_0x340e[_0x3c93b9];return _0x7818a2;};'use strict';var client=require(_0xe340('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0xe340('0x1')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id','exten',_0xe340('0x2')],'where':{'VoiceExtensionId':null}},'log':_0xe340('0x3')});};};