Hi Anjana,
Please correct following line in your .xml.
Your xml have "m=audio [media_port] RTP/AVP [field0]
[field1]"
This Should be
m=audio [media_port] RTP/AVP [field0]
a= [field1]
I tested in my lab please find log below
_H4)E@@ZR"INVITE sip:[email protected]:5060 SIP/2.0Via: SIP/2.0/UDP
172.17.1.82:5061;branch=z9hG4bK-8831-1-0From: sipp
<sip:[email protected]:5061>;tag=1To: sut <sip:[email protected]:5060>Call-ID:
[email protected]: 1 INVITEContact: sip:[email protected]:5061Max-Forwards:
70Subject: Performance TestContent-Type: application/sdpContent-Length: 140
v=0o=user1 53655765 2353687637 IN IP4 172.17.1.82s=-c=IN IP4 172.17.1.82t=0
0m=audio 6000 RTP/AVP 102a=rtpmap:102 G7221/16000
Best Regards,Sakharam Thorat.
Date: Thu, 13 Mar 2014 11:28:42 +0530
From: [email protected]
To: [email protected]
Subject: [Sipp-users] Fwd: Problem with CSV file.
Hello All,
Objective of my test - Each time make use of a different audio codec to make a
call from SIPP to DUT.
For this I have created a CSV file and a Cancel_codec.xml file attached for
your reference above.
Problem I am facing - I get "Invalid SDP line (no '=' delimiter) error. I am
attaching the screen shot and wireshark trace for your reference above.
Command to run the script -
sipp.exe -sf cancel_codec.xml -inf cod.csv -m 5 -r 100 -rp 10000 172.24.145.166
-i 172.24.145.162 -d 0 -trace_err
Kindly help me solve this problem or propose a better way to do this.
My CSV file looks like this -
SEQUENTIAL
102;rtpmap:102 G7221/16000
fmtp:102 bitrate=32000
9;a=rtpmap:9 G722/8000
0;a=rtpmap:0 PCMU/8000
8;a=rtpmap:8 PCMA/8000
And my send Invite Request looks like this -
<send retrans="500">
<![CDATA[
INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: [cseq] INVITE
Contact: sip:sipp@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
Content-Length: [len]
v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP [field0]
[field1]
]]>
</send>
Thanking you,
Anjana
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users