cffbf194b263b4e57c91f75baac9b19a8f71bcfd
[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 _0xe99c=['Request','GetVoiceExtension','exten','recordingFormat','getVoiceExtensions','../client'];(function(_0x225915,_0x2eaa2f){var _0x3b8d10=function(_0x4c9dd5){while(--_0x4c9dd5){_0x225915['push'](_0x225915['shift']());}};_0x3b8d10(++_0x2eaa2f);}(_0xe99c,0x197));var _0xce99=function(_0x6eb4fe,_0x5e5d87){_0x6eb4fe=_0x6eb4fe-0x0;var _0x509763=_0xe99c[_0x6eb4fe];return _0x509763;};'use strict';var client=require(_0xce99('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0xce99('0x1')](_0xce99('0x2'),{'options':{'raw':!![],'attributes':['id',_0xce99('0x3'),_0xce99('0x4')],'where':{'VoiceExtensionId':null}},'log':_0xce99('0x5')});};};