X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Ftrunk.js;h=6fab072440925756656dc781807d26b8870b39d1;hb=8de30684771e4539598fcfa869d5f97a2efb140f;hp=cbf2c0ebccd93aef7bd12869c7079ee8af0ced39;hpb=77cac286a995d5774f6d69ad14d2f583dccfe84b;p=motion2.git diff --git a/server/services/ami/rpc/trunk.js b/server/services/ami/rpc/trunk.js index cbf2c0e..6fab072 100644 --- a/server/services/ami/rpc/trunk.js +++ b/server/services/ami/rpc/trunk.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xec3e=['../client','Request','GetTrunk','name'];(function(_0x1ca5db,_0x765150){var _0x1df88e=function(_0x1d8fd5){while(--_0x1d8fd5){_0x1ca5db['push'](_0x1ca5db['shift']());}};_0x1df88e(++_0x765150);}(_0xec3e,0x74));var _0xeec3=function(_0x1da9b2,_0x16f572){_0x1da9b2=_0x1da9b2-0x0;var _0x19f1a5=_0xec3e[_0x1da9b2];return _0x19f1a5;};'use strict';var client=require(_0xeec3('0x0'));exports['getTrunks']=function(_0x1be691){return function(_0xae4c1){return client[_0xeec3('0x1')](_0xeec3('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xeec3('0x3'),'registry']},'log':'GetTrunk'});};}; \ No newline at end of file +var _0x1b69=['Request','GetTrunk','name','defaultuser'];(function(_0x3692c4,_0x2af72e){var _0x47b06d=function(_0x1d521f){while(--_0x1d521f){_0x3692c4['push'](_0x3692c4['shift']());}};_0x47b06d(++_0x2af72e);}(_0x1b69,0x1d0));var _0x91b6=function(_0x4a7631,_0x2c85b9){_0x4a7631=_0x4a7631-0x0;var _0x1a5a6f=_0x1b69[_0x4a7631];return _0x1a5a6f;};'use strict';var client=require('../client');exports['getTrunks']=function(_0x4dbd62){return function(_0x133e5e){return client[_0x91b6('0x0')](_0x91b6('0x1'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x91b6('0x2'),'registry',_0x91b6('0x3')]},'log':_0x91b6('0x1')});};}; \ No newline at end of file