4788d86be786e57ff60235ba358186c9f5aa881a
[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 _0x74f0=['getVoiceExtensions','exten','recordingFormat'];(function(_0x54213f,_0x5ecc06){var _0x55691b=function(_0x351d77){while(--_0x351d77){_0x54213f['push'](_0x54213f['shift']());}};_0x55691b(++_0x5ecc06);}(_0x74f0,0xf3));var _0x074f=function(_0x540dcb,_0x4eacb6){_0x540dcb=_0x540dcb-0x0;var _0x49353c=_0x74f0[_0x540dcb];return _0x49353c;};'use strict';var client=require('../client');exports[_0x074f('0x0')]=function(){return function(){return client['Request']('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0x074f('0x1'),_0x074f('0x2')],'where':{'VoiceExtensionId':null}},'log':_0x074f('0x0')});};};