3dc5e2ca601bb3841dcf2aa4686660121575ceef
[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 _0xb332=['recordingFormat','../client','Request','GetVoiceExtension'];(function(_0x58cd78,_0x3e3ae5){var _0x5905c5=function(_0x3b0731){while(--_0x3b0731){_0x58cd78['push'](_0x58cd78['shift']());}};_0x5905c5(++_0x3e3ae5);}(_0xb332,0xd9));var _0x2b33=function(_0xc36d01,_0x3bf1a6){_0xc36d01=_0xc36d01-0x0;var _0xecb231=_0xb332[_0xc36d01];return _0xecb231;};'use strict';var client=require(_0x2b33('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0x2b33('0x1')](_0x2b33('0x2'),{'options':{'raw':!![],'attributes':['id','exten',_0x2b33('0x3')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};