hj ! this my script i am doing: help me fix errors "487 request cancelled
and 488 Not acceptable here". it's send when i try running my script
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="call">
<send>
<![CDATA[
INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port]
From: sipp <sip:sipp@[local_ip]:[local_port]> ;tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>
Call-ID: [call_id]
Cseq: 1 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[local_ip_type] [local_ip]
t=0 0
m=audio [auto_media_port] RTP/AVP 0 3 4 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
]]>
</send>
<recv response="100">
</recv>
<recv response="180">
</recv>
<recv response="400" rtd="true" rrs="true" next="3" optional="true" />
<recv response="401" rtd="true" rrs="true" next="3" optional="true" />
<recv response="403" rtd="true" rrs="true" next="3" optional="true" />
<recv response="404" rtd="true" rrs="true" next="3" optional="true" />
<recv response="200" rtd="true" rrs="true" next="1" />
<label id="1" />
<send>
<![CDATA[
ACK 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=Tag00[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 1 ACK
Contact: sip:sipp@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<nop>
<action>
<exec play_pcap_audio="pcap/test.pcap"/>
</action>
</nop>
<pause milliseconds="8000"/>
<nop>
<action>
<exec play_pcap_audio="pcap/g711a.pcap"/>
</action>
</nop>
<pause milliseconds="8000"/>
<label id="2"/>
<send retrans="500">
<![CDATA[
BYE 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]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 BYE
Contact: sip:sipp@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<recv response="400" rtd="true" next="3" optional="true" />
<recv response="401" rtd="true" next="3" optional="true" />
<recv response="403" rtd="true" next="3" optional="true" />
<recv response="404" rtd="true" next="3" optional="true" />
<recv response="408" rtd="true" next="3" optional="true" />
<recv response="200" rtd="true" next="4" crlf="true" />
<label id="3" />
<nop>
<action>
<exec int_cmd="stop_call" />
</action>
</nop>
<label id="4" />
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
2011/7/21 mahendra kedia <[email protected]>
> This could be due to the codec mismatch configured on the softphone and the
> Invite sent on the UAC. can you send the UAC file.
>
> On Thu, Jul 21, 2011 at 9:31 AM, Bui Dinh Thang
> <[email protected]>wrote:
>
>> hj all
>> when i run my script UAC i received a message send from softphone: " while
>> expecting '180' (index 1), received 'SIP/2.0 488 Not Acceptable Here" after
>> i send INVITE message .i don't understand this message, can anyone help me
>> handle this message, please!
>> Best regard!
>> thanks
>> --
>> Thắng
>>
>>
>> ------------------------------------------------------------------------------
>> 5 Ways to Improve & Secure Unified Communications
>> Unified Communications promises greater efficiencies for business. UC can
>> improve internal communications as well as offer faster, more efficient
>> ways
>> to interact with customers and streamline customer service. Learn more!
>> http://www.accelacomm.com/jaw/sfnl/114/51426253/
>> _______________________________________________
>> Sipp-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>
>>
> Best Regards
--
Thắng
------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users