Can you please give an example.. I am getting errors of unsupported media
type and invalid session description when I add [field1] into the INVITE as
I am guessing I am not putting it in the correct position.

<?xml version="1.0" encoding="us-ascii"?>
<scenario name="New_Call">
    <send retrans="500">
        <![CDATA[
REGISTER sip:1...@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:1...@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:1...@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Contact: sip:1...@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
Content-Length: [len]
]]>
    </send>
    <recv response="100" optional="true" />
    <recv response="401"  auth="true" next="2" />
    <label id="2" />
    <send retrans="500">
        <![CDATA[
REGISTER sip:1...@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:1...@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:1...@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: [cseq+1] REGISTER
Contact: sip:1...@[local_ip]:[local_port];transport=UDP
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
[field1]
Content-Length: [len]
]]>
    </send>
    <recv response="200" crlf="true" />
    <send retrans="500">
        <![CDATA[
INVITE sip:6165551...@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:1...@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:6165551...@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: [cseq] INVITE
Contact: sip:1...@[local_ip]:[local_port];transport=UDP
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
Content-Length: [len]

v=0
o=111 843670094 843670094 IN IP4 [local_ip]
s=-
c=IN IP4 [local_ip]
t=0 0
a=sendrecv
m=audio [media_port] RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20]]>
    </send>
    <recv response="100" optional="false" />
    <recv response="407" optional="false" next="3" />
    <label id="3" />
    <send>
        <![CDATA[
ACK sip:6165551...@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:1...@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:6165551...@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: [cseq+1] ACK
Contact: sip:1...@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
    </send>
    <send retrans="500">
        <![CDATA[
INVITE sip:1...@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:1...@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:6165551...@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: [cseq] INVITE
Contact: sip:1...@[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 0
a=rtpmap:0 PCMU/8000]]>
    </send>
    <recv response="100" optional="false" />
    <recv response="180" optional="false" />
    <recv response="200" crlf="false" />
    <send>
        <![CDATA[
ACK sip:1...@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:1...@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:6165551...@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: [cseq+1] ACK
Contact: sip:s...@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
    </send>
    <pause milliseconds="50000" />
    <send retrans="500">
        <![CDATA[
BYE sip:6165551...@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:1...@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:6165551...@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 BYE
Contact: sip:s...@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0

]]>
    </send>
    <label id="1" />
    <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200" />
    <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000" />
</scenario>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to