Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / config / seedUsers.js
index 5eab5c5..22ece53 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7ae5=['udp','wss','all','ulaw','yes','actpass','\x22%s\x22\x20<%s>','User','bulkCreate','then','log','add\x20user','catch','../mysqldb','push','format','%s%s','agent'];(function(_0x4d4e7c,_0x1a8689){var _0x408125=function(_0x4db103){while(--_0x4db103){_0x4d4e7c['push'](_0x4d4e7c['shift']());}};_0x408125(++_0x1a8689);}(_0x7ae5,0x199));var _0x57ae=function(_0x530191,_0x52edef){_0x530191=_0x530191-0x0;var _0x212d5d=_0x7ae5[_0x530191];return _0x212d5d;};'use strict';var util=require('util');var db=require(_0x57ae('0x0'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users[_0x57ae('0x1')]({'name':util[_0x57ae('0x2')](_0x57ae('0x3'),_0x57ae('0x4'),i),'fullname':util[_0x57ae('0x2')](_0x57ae('0x3'),_0x57ae('0x4'),i),'email':util[_0x57ae('0x2')]('%s%s@xcally.com',_0x57ae('0x4'),i),'role':_0x57ae('0x4'),'password':'password','internal':0xfa0+i,'type':'friend','transport':[_0x57ae('0x5'),'ws',_0x57ae('0x6')],'disallow':[_0x57ae('0x7')],'allow':[_0x57ae('0x8')],'defaultuser':util[_0x57ae('0x2')]('%s%s','agent',i),'encryption':_0x57ae('0x9'),'avpf':_0x57ae('0x9'),'force_avp':_0x57ae('0x9'),'icesupport':_0x57ae('0x9'),'dtlsenable':_0x57ae('0x9'),'dtlsverify':'no','dtlscertfile':'/etc/pki/tls/certs/motion.crt','dtlsprivatekey':'/etc/pki/tls/private/motion.key','dtlssetup':_0x57ae('0xa'),'callerid':util['format'](_0x57ae('0xb'),util[_0x57ae('0x2')]('%s%s',_0x57ae('0x4'),i),0xfa0+i)});}db[_0x57ae('0xc')][_0x57ae('0xd')](users)[_0x57ae('0xe')](function(){console[_0x57ae('0xf')](_0x57ae('0x10'));})[_0x57ae('0x11')](function(_0x54f054){console[_0x57ae('0xf')](_0x54f054);});
\ No newline at end of file
+var _0x820f=['User','bulkCreate','then','add\x20user','catch','log','util','../mysqldb','push','format','%s%s','agent','%s%s@xcally.com','password','friend','udp','yes','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','actpass','\x22%s\x22\x20<%s>'];(function(_0x3f4deb,_0xf8b63){var _0x8e25da=function(_0x1894c4){while(--_0x1894c4){_0x3f4deb['push'](_0x3f4deb['shift']());}};_0x8e25da(++_0xf8b63);}(_0x820f,0x117));var _0xf820=function(_0x53bfdb,_0x8ecab3){_0x53bfdb=_0x53bfdb-0x0;var _0x469b15=_0x820f[_0x53bfdb];return _0x469b15;};'use strict';var util=require(_0xf820('0x0'));var db=require(_0xf820('0x1'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users[_0xf820('0x2')]({'name':util[_0xf820('0x3')](_0xf820('0x4'),'agent',i),'fullname':util['format'](_0xf820('0x4'),_0xf820('0x5'),i),'email':util[_0xf820('0x3')](_0xf820('0x6'),_0xf820('0x5'),i),'role':'agent','password':_0xf820('0x7'),'internal':0xfa0+i,'type':_0xf820('0x8'),'transport':[_0xf820('0x9'),'ws','wss'],'disallow':['all'],'allow':['ulaw'],'defaultuser':util[_0xf820('0x3')](_0xf820('0x4'),'agent',i),'encryption':_0xf820('0xa'),'avpf':_0xf820('0xa'),'force_avp':_0xf820('0xa'),'icesupport':_0xf820('0xa'),'dtlsenable':'yes','dtlsverify':'no','dtlscertfile':_0xf820('0xb'),'dtlsprivatekey':_0xf820('0xc'),'dtlssetup':_0xf820('0xd'),'callerid':util['format'](_0xf820('0xe'),util['format'](_0xf820('0x4'),_0xf820('0x5'),i),0xfa0+i)});}db[_0xf820('0xf')][_0xf820('0x10')](users)[_0xf820('0x11')](function(){console['log'](_0xf820('0x12'));})[_0xf820('0x13')](function(_0x46727a){console[_0xf820('0x14')](_0x46727a);});
\ No newline at end of file