af42c421eb61171abae620ffaaef48c1b983c946
[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 _0x21a3=['../client','Request','GetVoiceExtension','exten','recordingFormat','getVoiceExtensions'];(function(_0x537941,_0x319521){var _0x494f52=function(_0xa72aaf){while(--_0xa72aaf){_0x537941['push'](_0x537941['shift']());}};_0x494f52(++_0x319521);}(_0x21a3,0x66));var _0x321a=function(_0x2e15de,_0x3b9a6f){_0x2e15de=_0x2e15de-0x0;var _0xdaa198=_0x21a3[_0x2e15de];return _0xdaa198;};'use strict';var client=require(_0x321a('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0x321a('0x1')](_0x321a('0x2'),{'options':{'raw':!![],'attributes':['id',_0x321a('0x3'),_0x321a('0x4')],'where':{'VoiceExtensionId':null}},'log':_0x321a('0x5')});};};