Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / services / ami / rpc / trunk.js
index e1a0f34..16f0672 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2ea3=['Request','GetTrunk','registry','../client'];(function(_0x57a96f,_0x5dd550){var _0x56f4f1=function(_0x68eb12){while(--_0x68eb12){_0x57a96f['push'](_0x57a96f['shift']());}};_0x56f4f1(++_0x5dd550);}(_0x2ea3,0xdb));var _0x32ea=function(_0x6c9d9f,_0x160ce2){_0x6c9d9f=_0x6c9d9f-0x0;var _0x18103e=_0x2ea3[_0x6c9d9f];return _0x18103e;};'use strict';var client=require(_0x32ea('0x0'));exports['getTrunks']=function(_0x3e2d41){return function(_0x84b241){return client[_0x32ea('0x1')](_0x32ea('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0x32ea('0x3')]},'log':_0x32ea('0x2')});};};
\ No newline at end of file
+var _0x090a=['GetTrunk','name','registry','getTrunks'];(function(_0x1723d3,_0x2c8ae7){var _0x559979=function(_0x191a57){while(--_0x191a57){_0x1723d3['push'](_0x1723d3['shift']());}};_0x559979(++_0x2c8ae7);}(_0x090a,0xf3));var _0xa090=function(_0x1e72a4,_0x4374cf){_0x1e72a4=_0x1e72a4-0x0;var _0x221306=_0x090a[_0x1e72a4];return _0x221306;};'use strict';var client=require('../client');exports[_0xa090('0x0')]=function(_0x269acb){return function(_0x4cc624){return client['Request'](_0xa090('0x1'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xa090('0x2'),_0xa090('0x3'),'defaultuser']},'log':_0xa090('0x1')});};};
\ No newline at end of file