Built motion from commit 9d1906d1.|2.5.40
[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 _0xee11=['getVoiceExtensions','../client','GetVoiceExtension','exten','recordingFormat'];(function(_0x5677f9,_0x1af67c){var _0x366668=function(_0x271e4b){while(--_0x271e4b){_0x5677f9['push'](_0x5677f9['shift']());}};_0x366668(++_0x1af67c);}(_0xee11,0x146));var _0x1ee1=function(_0x5ce105,_0x34f3ce){_0x5ce105=_0x5ce105-0x0;var _0x33d030=_0xee11[_0x5ce105];return _0x33d030;};'use strict';var client=require(_0x1ee1('0x0'));exports['getVoiceExtensions']=function(){return function(){return client['Request'](_0x1ee1('0x1'),{'options':{'raw':!![],'attributes':['id',_0x1ee1('0x2'),_0x1ee1('0x3')],'where':{'VoiceExtensionId':null}},'log':_0x1ee1('0x4')});};};