6f82452c7a0fba1c910fc323ec75f4d373952819
[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 _0x94d2=['getVoiceExtensions','Request','GetVoiceExtension','exten','recordingFormat'];(function(_0x3ea850,_0x2bc845){var _0x12fb9c=function(_0x4aca15){while(--_0x4aca15){_0x3ea850['push'](_0x3ea850['shift']());}};_0x12fb9c(++_0x2bc845);}(_0x94d2,0x1cd));var _0x294d=function(_0x1c5142,_0x30ea72){_0x1c5142=_0x1c5142-0x0;var _0x1268cb=_0x94d2[_0x1c5142];return _0x1268cb;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0x294d('0x0')](_0x294d('0x1'),{'options':{'raw':!![],'attributes':['id',_0x294d('0x2'),_0x294d('0x3')],'where':{'VoiceExtensionId':null}},'log':_0x294d('0x4')});};};