Hello all,
I am conducting some load testing and need to create 50,000 accounts on kamailio.
I want to write a shell script to add 50,000 users. Kamctl add [user] [password] prompts for a password and I checked kamctl -help and there is no option for providing password along with the command.
Is is possible to disable password and run my script?
Thanks Sid
"May the light be with you." ______________________________________________ Siddhardha Garige www.luminepixels.com
On Nov 15, 2010, at 5:28 PM, Siddhardha Garige wrote:
Hello all,
I am conducting some load testing and need to create 50,000 accounts on kamailio.
I want to write a shell script to add 50,000 users. Kamctl add [user] [password] prompts for a password and I checked kamctl -help and there is no option for providing password along with the command.
Is is possible to disable password and run my script?
Thanks Sid
Why not just insert into the DB directly?
---fred http://qxork.com
On 11/15/10 11:30 PM, Fred Posner wrote:
On Nov 15, 2010, at 5:28 PM, Siddhardha Garige wrote:
Hello all,
I am conducting some load testing and need to create 50,000 accounts on kamailio.
I want to write a shell script to add 50,000 users. Kamctl add [user] [password] prompts for a password and I checked kamctl -help and there is no option for providing password along with the command.
Is is possible to disable password and run my script?
you have to edit kamctlrc file located in same installation directory as kamailio.cfg and set DBRWUSER and DBRWPW