1f8d9416f426d8088dc81ad0db147594f29b6202
[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 _0xd276=['GetVoiceExtension','recordingFormat','../client','getVoiceExtensions','Request'];(function(_0x1e3ad3,_0x51a1d7){var _0x332890=function(_0x4b5866){while(--_0x4b5866){_0x1e3ad3['push'](_0x1e3ad3['shift']());}};_0x332890(++_0x51a1d7);}(_0xd276,0xfc));var _0x6d27=function(_0x3a9661,_0x530b12){_0x3a9661=_0x3a9661-0x0;var _0x5bb119=_0xd276[_0x3a9661];return _0x5bb119;};'use strict';var client=require(_0x6d27('0x0'));exports[_0x6d27('0x1')]=function(){return function(){return client[_0x6d27('0x2')](_0x6d27('0x3'),{'options':{'raw':!![],'attributes':['id','exten',_0x6d27('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x6d27('0x1')});};};