Built motion from commit (unavailable).|2.2.0
[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 _0x9a33=['exten','recordingFormat','../client','getVoiceExtensions'];(function(_0x5de755,_0x654e37){var _0x55c337=function(_0x3c4601){while(--_0x3c4601){_0x5de755['push'](_0x5de755['shift']());}};_0x55c337(++_0x654e37);}(_0x9a33,0x176));var _0x39a3=function(_0xe6f4ef,_0x4e34cc){_0xe6f4ef=_0xe6f4ef-0x0;var _0x4f3447=_0x9a33[_0xe6f4ef];return _0x4f3447;};'use strict';var client=require(_0x39a3('0x0'));exports[_0x39a3('0x1')]=function(){return function(){return client['Request']('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x39a3('0x2'),_0x39a3('0x3')],'where':{'VoiceExtensionId':null}},'log':_0x39a3('0x1')});};};