Discussion:
[Sipp-users] help 488 Not Acceptable Here
Bui Dinh Thang
2011-07-21 04:01:25 UTC
Permalink
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
mayamatakeshi
2011-07-21 04:13:30 UTC
Permalink
Post by Bui Dinh Thang
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!
Well, this kind of question has nothing to do with sipp.

Just read the SIP RFC:

http://www.ietf.org/rfc/rfc3261.txt

21.4.26 488 Not Acceptable Here

The response has the same meaning as 606 (Not Acceptable), but only
applies to the specific resource addressed by the Request-URI and the
request may succeed elsewhere.

A message body containing a description of media capabilities MAY be
present in the response, which is formatted according to the Accept
header field in the INVITE (or application/sdp if not present), the
same as a message body in a 200 (OK) response to an OPTIONS request.

21.6.4 606 Not Acceptable

The user's agent was contacted successfully but some aspects of the
session description such as the requested media, bandwidth, or
addressing style were not acceptable.

A 606 (Not Acceptable) response means that the user wishes to
communicate, but cannot adequately support the session described.
The 606 (Not Acceptable) response MAY contain a list of reasons in a
Warning header field describing why the session described cannot be
supported. Warning reason codes are listed in Section 20.43.
mahendra kedia
2011-07-21 06:08:56 UTC
Permalink
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.
Post by Bui Dinh Thang
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
https://lists.sourceforge.net/lists/listinfo/sipp-users
Bui Dinh Thang
2011-07-21 06:17:23 UTC
Permalink
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>
Post by mahendra kedia
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.
Post by Bui Dinh Thang
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
https://lists.sourceforge.net/lists/listinfo/sipp-users
Best Regards
--
Thắng
Loading...