hello all,
I have written an automation script in which I would like to SSH to the PC
I want to send sipp messages with.
Here is a part of the automation script:

###############################
ssh `echo root@$UA_IP` "cd /opt/sipp.svn; killall -9 sipp; rm -rf
registration_*.log; receive_message_*.log; ./register.sh"
###############################
 in the bash file register.sh I want to register different UAs. Here is a
the bash file:


##############################
#!bin/bash
ulimit -n 65536
p=5060;
i=1;
while [ $i -le 100 ]; do
         ./sipp -sf registration.xml 192.168.10.4 -m 1 -r 1 -s UA$i -p $p
-i 192.168.10.1 -trace_err </dev/null >/dev/null 2>&1 -bg;
          i=$(($i + 1))
          p=$(($p + 1))
done
#####################################
the problem is any time I don't specify the port number, I get an error
saying "The address is already taken, I thought if I set the port
differently each time, it would be OK. but although I don't get errors this
way, I don't get the UAs register either. Is there any idea what should I
do?
Thanks in advance.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to