bf5be928ce26d3a41ab1264c2a5943065eb1b1a3
[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 _0x81a5=['../client','getVoiceExtensions','Request','GetVoiceExtension','exten','recordingFormat'];(function(_0xd4636c,_0x34dbf6){var _0x5ee17d=function(_0x223c38){while(--_0x223c38){_0xd4636c['push'](_0xd4636c['shift']());}};_0x5ee17d(++_0x34dbf6);}(_0x81a5,0x1c8));var _0x581a=function(_0x22c79a,_0x1f209f){_0x22c79a=_0x22c79a-0x0;var _0x1566db=_0x81a5[_0x22c79a];return _0x1566db;};'use strict';var client=require(_0x581a('0x0'));exports[_0x581a('0x1')]=function(){return function(){return client[_0x581a('0x2')](_0x581a('0x3'),{'options':{'raw':!![],'attributes':['id',_0x581a('0x4'),_0x581a('0x5')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};