e96bf750cd887f4d27d3a26d4b84936eaac3e524
[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 _0x0efe=['exten','recordingFormat','../client','getVoiceExtensions','GetVoiceExtension'];(function(_0x3c5f8d,_0x39891f){var _0x3b7beb=function(_0x44d6c9){while(--_0x44d6c9){_0x3c5f8d['push'](_0x3c5f8d['shift']());}};_0x3b7beb(++_0x39891f);}(_0x0efe,0x110));var _0xe0ef=function(_0x3424ba,_0x251691){_0x3424ba=_0x3424ba-0x0;var _0x1f5ccd=_0x0efe[_0x3424ba];return _0x1f5ccd;};'use strict';var client=require(_0xe0ef('0x0'));exports[_0xe0ef('0x1')]=function(){return function(){return client['Request'](_0xe0ef('0x2'),{'options':{'raw':!![],'attributes':['id',_0xe0ef('0x3'),_0xe0ef('0x4')],'where':{'VoiceExtensionId':null}},'log':_0xe0ef('0x1')});};};