36d275439f9377f0cf99c00b9f473b0cfd5240d1
[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 _0xc2af=['Request','exten','recordingFormat','getVoiceExtensions','../client'];(function(_0x89e9a,_0x1bad71){var _0x4a9546=function(_0x50899f){while(--_0x50899f){_0x89e9a['push'](_0x89e9a['shift']());}};_0x4a9546(++_0x1bad71);}(_0xc2af,0x1bc));var _0xfc2a=function(_0x15debd,_0x234bda){_0x15debd=_0x15debd-0x0;var _0x3f1fb1=_0xc2af[_0x15debd];return _0x3f1fb1;};'use strict';var client=require(_0xfc2a('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0xfc2a('0x1')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0xfc2a('0x2'),_0xfc2a('0x3')],'where':{'VoiceExtensionId':null}},'log':_0xfc2a('0x4')});};};