Built motion from commit 0d14f64c.|2.6.34
[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 _0x8eeb=['recordingFormat','getVoiceExtensions','../client','Request','GetVoiceExtension'];(function(_0x266cac,_0x76b613){var _0x52ac0b=function(_0x31113b){while(--_0x31113b){_0x266cac['push'](_0x266cac['shift']());}};_0x52ac0b(++_0x76b613);}(_0x8eeb,0x183));var _0xb8ee=function(_0x3c0670,_0xde741a){_0x3c0670=_0x3c0670-0x0;var _0x5293ff=_0x8eeb[_0x3c0670];return _0x5293ff;};'use strict';var client=require(_0xb8ee('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0xb8ee('0x1')](_0xb8ee('0x2'),{'options':{'raw':!![],'attributes':['id','exten',_0xb8ee('0x3')],'where':{'VoiceExtensionId':null}},'log':_0xb8ee('0x4')});};};