This is actually typo .. sorry for that. I tried to use either <recv>
or <recvCmd> and none of these is able to catch "202" response. The
point is that I'm physically getting the response back and it's just
SIPP which is not able to recognize the response.
On 10/08/2010 09:34 AM, Garron, James wrote:
Dan, I have used SIPp in a REFER call flow and did not have issue with
the received 202 Accepted message. Could it be the </recvCmd> should
simply be </recv>?
/Jim
------------------------------------------------------------------------
*From:* Daniel Ciprus [mailto:daniel.cip...@acision.com]
*Sent:* Friday, October 08, 2010 9:13 AM
*To:* sipp-users@lists.sourceforge.net
*Subject:* [Sipp-users] REFER and response back "202 Accepted" is not
handledby SIPP script
Folks,
Anybody can help me with this ? Scenario is simple :
1. UA REGISTER -> IMS
2. IMS challenging the UA
3. UA REGISTER -> IMS
4. INVITE -> IMS
5. ...
6. ACK -> IMS
7. REFER -> IMS
8. IMS 202 Accepted -> UA
For some reason response "202 Accepted" is unknown to SIPP script. I
tried to send REFER within the dialog also outside but none of these
helped. Secondly there is a new Call-ID: which I'm aware about so I
also tried to use 3pcc / master-slave scenario with the same result.
thanks in advance,
Dan.
~/Tools/sipp$ sipp -v
SIPp v3.1-TLS-PCAP, version unknown, built Feb 5 2010, 03:01:20.
Scenario XML:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="RemoveUserFromConference">
<send>
<![CDATA[
REGISTER sip:ricuc.com SIP/2.0
Via: SIP/2.0/[transport] [local_ip];rport;branch=[branch]
From: <sip:[fiel...@ricuc.com> <sip:%5bfield0...@ricuc.com>;tag=aabbcc
To: <sip:[fiel...@ricuc.com> <sip:%5bfield0...@ricuc.com>
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK,
UPDATE, REFER
User-Agent: IM-client/OMA1.0 sipp-script
Contact: <sip:[fiel...@[local_ip]:[local_port]>
<sip:%5bfield0...@%5blocal_ip%5d:%5blocal_port%5d>
Supported: path
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
Privacy: none
Supported: timer
Content-Length: 0
]]>
</send>
<recv response="401" auth="true">
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:ricuc.com SIP/2.0
Via: SIP/2.0/[transport] [local_ip];branch=[branch]
Max-Forwards: 20
Route: <sip:o...@scscf.ricuc.com:6060;lr>
From: <sip:[fiel...@ricuc.com>
<sip:%5bfield0...@ricuc.com>;tag=[call_number];tag=aabbcc
To: <sip:[fiel...@ricuc.com> <sip:%5bfield0...@ricuc.com>
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Contact: <sip:[fiel...@[local_ip]:[local_port]>
<sip:%5bfield0...@%5blocal_ip%5d:%5blocal_port%5d>
Expires: 300
Content-Length: 0
Supported: path
[field4]
]]>
</send>
<recv response="200"/>
<nop>
<action>
<log message="[clock_tick] - Posielam INVITE "/>
</action>
</nop>
<send retrans="900">
<![CDATA[
INVITE sip:[fiel...@ricuc.com <mailto:field1...@ricuc.com> SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]
Max-Forwards: 70
To: <sip:[fiel...@ricuc.com> <sip:%5bfield1...@ricuc.com>
From: <sip:[fiel...@ricuc.com> <sip:%5bfield0...@ricuc.com>;tag=aabbcc
CSeq: [cseq] INVITE
Call-ID: [call_id]
Contact: <sip:[fiel...@[local_ip]:[local_port];transport=udp>
<sip:%5bfield0...@%5blocal_ip%5d:%5blocal_port%5d;transport=udp>;+g.oma.sip-im
Accept: application/sdp, message/sipfrag
Accept-Contact: *;+g.oma.sip-im
Require: recipient-list-invite
Subject: conference
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK,
UPDATE, REFER
User-Agent: IM-client/OMA1.0 sipp-script
P-Preferred-Service: urn:urn-7:3gpp-service.ims.icsi.mmtel
Session-Expires: 1800;refresher=uac
Supported: timer
Content-Type: multipart/mixed; boundary=boundary5436_4827
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
Privacy: none
P-Preferred-Identity: <sip:[fiel...@ricuc.com>
<sip:%5bfield0...@ricuc.com>
Allow-Events: refer, presence, presence.winfo, xcap-diff, conference
Route: <sip:o...@scscf.ricuc.com:6060;lr>
Content-Length: [len]
--boundary5436_4827
Content-Type: application/sdp
v=0
o=- 2890842807 2890842807 IN IP4 [local_ip]
s=sippp-client IMS Session
t=0 0
m=message 3918 TCP/MSRP *
c=IN IP4 [local_ip]
a=sendrecv
a=accept-types:message/CPIM text/plain
a=accept-wrapped-types:text/plain image/jpeg image/gif image/bmp image/png
a=setup:actpass
a=connection:new
a=path:msrp://[local_ip]:3918/cxggbwkfnqd;tcp
--boundary5436_4827
Content-Disposition: recipient-list
Content-Type: application/resource-lists+xml
<?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance>>
<list>
<entry uri="sip:[fiel...@ricuc.com" <sip:%5bfield2...@ricuc.com>/>
<entry uri="sip:[fiel...@ricuc.com" <sip:%5bfield3...@ricuc.com>/>
</list>
</resource-lists>
--boundary5436_4827--
]]>
</send>
<recv response="100" rrs="true"/>
<recv response="200" rrs="true"/>
<send crlf="true">
<![CDATA[
ACK sip:[fiel...@172.24.177.101 <mailto:field1...@172.24.177.101> SIP/2.0
[last_From:]
[last_To:]
[last_Via:]
CSeq: [cseq] ACK
[last_Call-ID:]
[last_Privacy:]
[last_Supported:]
Contact: sip:[fiel...@[local_ip]:[local_port]
[routes]
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Length: 0
Max-Forwards: 70
]]>
</send>
<pause milliseconds="5000">
</pause>
<send>
<![CDATA[
REFER sip:[fiel...@ricuc.com <mailto:field1...@ricuc.com> SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[fiel...@ricuc.com> <sip:%5bfield0...@ricuc.com>;tag=12345
To: <sip:[fiel...@ricuc.com> <sip:%5bfield1...@ricuc.com>
Call-ID: [call_id]99
CSeq: [cseq] REFER
Route: <sip:o...@scscf.ricuc.com:6060;lr>
Max-Forwards: 70
Refer-To: <sip:[fiel...@ricuc.com;method=BYE>
<sip:%5bfield2...@ricuc.com;method=BYE>
Refer-Sub: false
Contact: <sip:[fiel...@ricuc.com:[local_port]>
<sip:%5bfield0...@ricuc.com:%5blocal_port%5d>
Content-Length: 0
]]>
</send>
<recv response="202" crlf="true">
<action>
<log message="202 Accepted"/>
</action>
</recvCmd>
</scenario>
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.
--
*Daniel Ciprus*
Integration engineer
------------------------------------------------------
*http://www.acision.com*
4870 Sadler Rd
Suite 200
Glen Allen, VA 23060
USA
T: +1 804 762 5601
E: daniel.cip...@acision.com
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users