|
From: Tomasz R. <tom...@er...> - 2008-07-07 10:09:07
|
Hi, You are using "-t un" (separate socket for each call). If sipp opens many socket, it must use different port for each one. You can't have two sockets on the same port and the same IP address. If you want to use specified port, remove "-t un" (or change it to "-t u1" which is default). Then sipp will use one socket for all calls and the socket will have the port that you put in "-p" option. Best regards -- Tomasz Radziszewski Senior Software Engineer Ericpol Telecom sp. z o.o. Madalinskiego 9, 30-303 Krakow, Poland e-mail: Tom...@er... http://www.ericpol.com/ > Hello, > > Can someone help me understand what is going on with the ports and why? > > > > I'm trying to REGISTER sipp server and I specify a port: 5061 > > But it registers with a different port. > > > > I use the command line: > > sipp -sf uasrMT.xml ipxxx:5060 -trace_msg -l 1 -m 1 -t un -p 5061 > > > > and inside the scenario I use the variable [local_port]; > > REGISTER sip:ipxxx SIP/2.0 > > Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch] > > > > > > When it registers, tshark shows a different port: 51587 > > > > 22:54:52.687371 xxx 51587 yyy sip Request: REGISTER sip:xxx > > > > I tried using different ports, such as 5063 but still the same problems. > > > > Thanks, > > Anna |