Hi,
I downloaded the latest source of SIPP.SVN from sourceforge, compiled it
on RHEL4. I began with REGISTER scenario file & am trying to send
multiple register messages with different ip addresses. I see that for
the first IP address injected from the csv file, the local_port is
always choosen as "0" & for subsequent IP addresses the choosen
local_port is 5062. The result of which, the first REGISTER
message/messages always fails.
Scenario File -
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="Basic Register UAC">
<send retrans="500">
<![CDATA[
REGISTER sip:[remote_ip] SIP/2.0
Via: SIP/2.0/[transport] [field2]:[local_port]
To: <sip:[fiel...@[remote_ip]:[remote_port]>
From: <sip:[fiel...@[field2]:[local_port]>
Contact:
<sip:[fiel...@[field2]:[local_port]>;transport=[transport]
Expires: 30
Call-ID: [call_id]
CSeq: 1 REGISTER
Content-Length: 0
]]>
</send>
<recv response="200" rtd="true">
</recv>
<pause milliseconds="4000"/>
</scenario>
Inject File -
SEQUENTIAL
Senthik;Kanniappan;172.28.25.75
Anil;Kumar;172.28.25.75
Sarva;Channarajurs;172.28.25.76
Kamran;Habib;172.28.25.77
Command I use - "sipp -trace_msg -trace_err -l 7 -m 7 -p 5062 -ip_field
2 -t ui -inf users.csv -sf Basic_Register_UAC.xml 172.28.25.61"
Message Logs -
----------------------------------------------- 2009-03-05
18:44:04:804.803
UDP message sent (276 bytes):
REGISTER sip:172.28.25.61 SIP/2.0
Via: SIP/2.0/UDP 172.28.25.75:0
To: <sip:[email protected]:5060>
From: <sip:[email protected]:0>
Contact: <sip:[email protected]:0>;transport=UDP
Expires: 30
Call-ID: [email protected]
CSeq: 1 REGISTER
Content-Length: 0
----------------------------------------------- 2009-03-05
18:44:04:904.753
UDP message sent (267 bytes):
REGISTER sip:172.28.25.61 SIP/2.0
Via: SIP/2.0/UDP 172.28.25.75:0
To: <sip:[email protected]:5060>
From: <sip:[email protected]:0>
Contact: <sip:[email protected]:0>;transport=UDP
Expires: 30
Call-ID: [email protected]
CSeq: 1 REGISTER
Content-Length: 0
----------------------------------------------- 2009-03-05
18:44:05:6.604
UDP message sent (279 bytes):
REGISTER sip:172.28.25.61 SIP/2.0
Via: SIP/2.0/UDP 172.28.25.76:5062
To: <sip:[email protected]:5060>
From: <sip:[email protected]:5062>
Contact: <sip:[email protected]:5062>;transport=UDP
Expires: 30
Call-ID: [email protected]
CSeq: 1 REGISTER
Content-Length: 0
----------------------------------------------- 2009-03-05
18:44:05:7.218
UDP message received [381] bytes :
SIP/2.0 200 OK
To: <sip:[email protected]:5060>;tag=d033c6b5
Content-Length: 0
Contact: <sip:[email protected]:5062>;transport=UDP;expires=30
Contact: <sip:[email protected]>;transport=UDP;expires=29
CSeq: 1 REGISTER
Call-ID: [email protected]
Via: SIP/2.0/UDP 172.28.25.76:5062
From: sip:[email protected]:5062
Date: Fri, 06 Mar 2009 02:44:05 GMT
Expires: 30
----------------------------------------------- 2009-03-05
18:44:05:106.556
UDP message sent (282 bytes):
REGISTER sip:172.28.25.61 SIP/2.0
Via: SIP/2.0/UDP 172.28.25.77:5062
To: <sip:[email protected]:5060>
From: <sip:[email protected]:5062>
Contact: <sip:[email protected]:5062>;transport=UDP
Expires: 30
Call-ID: [email protected]
CSeq: 1 REGISTER
Content-Length: 0
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users