----- Forwarded Message ----
From: abobker ali <alhotaba_abob...@yahoo.com>
To: IMS TESTBED <openimscore-us...@lists.berlios.de>; SIPp mailing list SIPp
<sipp-users-requ...@lists.sourceforge.net>; sipp sipp
<sipp-users@lists.sourceforge.net>; asmaa_...@yahoo.co.uk
Sent: Mon, March 15, 2010 6:44:02 PM
Subject: REFER method sceinario errors
Hi,
I'm trying to implement REFER scenario in our HII-IMS testbed, but there are
many problems.
I'm using unattended REFER scenario:
For Bob
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="registration and simple IMS session setup, client side">
<send retrans="500">
<![CDATA[
REGISTER sip:b...@ahii-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 20
From: "bob" <sip:b...@ahii-ims.test>;tag=[call_number]
To: "bob" <sip:b...@ahii-ims.test>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 1 REGISTER
Contact: <sip:b...@[local_ip]:[local_port]>
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
Authorization: Digest username="b...@ahii-ims.test", realm="Ahii-ims.test"
Supported: path
]]>
</send>
<recv response="401" auth="true">
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:b...@ahii-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Route: [$1]
Max-Forwards: 20
From: "bob" <sip:b...@ahii-ims.test>;tag=[call_number]
To: "bob" <sip:b...@ahii-ims.test>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 1 REGISTER
Contact: <sip:b...@[local_ip]:[local_port]>
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
[authentication username=...@ahii-ims.test password=bob]
Supported: path
]]>
</send>
<recv response="200">
<action>
<ereg regexp=".*" search_in="hdr" header="Service-Route" assign_to="1" />
</action>
</recv>
<pause milliseconds="5000" crlf="true" />
<send retrans="500">
<![CDATA[
INVITE sip:al...@ahii-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 20
Route: <sip:pcscf.Ahii-ims.test:4060;lr>,[$1]
P-Preferred-Identity: <sip:b...@ahii-ims.test>
Privacy: none
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
From: <sip:b...@ahii-ims.test>;tag=[call_number]
To: <al...@ahii-ims.test>
Call-ID: call///[call_id]
CSeq: 10 INVITE
Supported: 100rel
Contact: <sip:b...@[local_ip]:[local_port]>
User-Agent: Sipp v1.1-TLS, version 20061124
Allow: ACK, BYE, CANCEL, INVITE, REFER, OPTIONS, INFO, REGISTER, NOTIFY,
UPDATE, SUBSCRIBE, PRACK
Content-Type: application/sdp
Content-Length: [len]
v=0
o=user1 53655765 2353687637 IN IP4 [local_ip]
s=-
c=IN IP4 192.168.100.111
t=0 0
m=audio 49172 RTP/AVP 97
a=rtpmap:97 iLBC/8000
m=audio 49174 RTP/AVP 98
a=rtpmap:98 telephone-event/8000
a=recvonly
]]>
</send>
<recv response="100" optional="true">
</recv>
<recv response="180" optional="true">
</recv>
<recv response="403" optional="true" next="1">
</recv>
<recv response="404" optional="true" next="1">
</recv>
<recv response="408" optional="true" next="1">
</recv>
<recv response="200" rrs="true">
</recv>
<send crlf="true">
<![CDATA[
ACK [next_url] SIP/2.0
[last_Via:]
Max-Forwards: 20
[routes:]
From: <sip:b...@ahii-ims.test>;tag=[call_number]
[last_To:]
Call-ID: call///[call_id]
CSeq: 10 ACK
Content-Length: 0
]]>
</send>
<pause milliseconds="5000" crlf="true" />
<recv request="REFER">
</recv>
<send retrans="500">
<![CDATA[
SIP/2.0 202 Accepted
From: Bob <sip:b...@ahii-ims.test>;tag=[call_number]
To: Alice <sip:al...@ahii-ims.test>
[last_Call-ID:]
CSeq: 1 REFER
Contact: <sip:b...@ahii-ims.test>
]]>
</send>
<send retrans="500">
<![CDATA[
NOTIFY sip:al...@ahii-ims.test SIP/2.0
From: Bob <sip:b...@ahii-ims.test>;tag=[call_number]
To: Alice <sip:al...@ahii-ims.test>
[last_Call-ID:]
CSeq: 2 NOTIFY
Event: refer
Subscription-State: active;expires=60
Content-Type: message/sipfrag
SIP/2.0 100 Trying
]]>
</send>
<recv response="200" rrs="true">
</recv>
<recv request="BYE" rrs="true">
</recv>
<send retrans="500">
<![CDATA[
SIP/2.0 200 OK
From: Bob <sip:b...@ahii-ims.test>;tag=[call_number]
To: Alice <sip:al...@ahii-ims.test>
[last_Call-ID:]
CSeq: 2 BYE
]]>
</send>
<pause milliseconds="5000" crlf="true" />
<send retrans="500">
<![CDATA[
INVITE sip:sf...@ahii-ims.test SIP/2.0
From: Bob <sip:b...@ahii-ims.test>;tag=[call_number]
To: Sfwan <sip:sf...@ahii-ims.test>
Call-ID: call///[call_id]
CSeq: 2 INVITE
Contact: <sip:b...@ahii-ims.test>
Referred-By: <al...@ahii-ims.test>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: ...
v=0
o=bob 2890844539 2890844539 IN IP4 Ahii-ims.test
s=Session SDP
c=IN 1P4 Ahii-ims.test
t=3034423821 0
m=audio 3458 RTP/AVP 0
a=rtpmap:0 PCMU/8000
]]>
</send>
<recv response="100" optional="true">
</recv>
<recv response="180" optional="true">
</recv>
<recv response="403" optional="true" next="1">
</recv>
<recv response="404" optional="true" next="1">
</recv>
<recv response="408" optional="true" next="1">
</recv>
<recv response="200" rrs="true">
</recv>
<send crlf="true">
<![CDATA[
ACK sip: sf...@ahii-ims.test SIP/2.0
From: Bob <sip: b...@ahii-ims.test>;tag=[call_number]
To: Sfwan <sip:sf...@ahii-ims.test>
Call-ID: call///[call_id]
CSeq: 2 ACK
]]>
</send>
<send retrans="500">
<![CDATA[
NOTIFY sip:al...@ahii-ims.test SIP/2.0
From: Bob <sip:b...@ahii-ims.test>;tag=[call_number]
To: Alice <sip:al...@ahii-ims.test>
Call-ID: call///[call_id]
CSeq: 3 NOTIFY
Event: refer
Subscription-State: terminated;reason=noresource
Content-Type: message/sipfrag
]]>
</send>
<send retrans="500">
<![CDATA[
SIP/2.0 200 OK
From: Bob <sip:b...@ahii-ims.test>;tag=[call_number]
To: sfwan <sip:sf...@ahii-ims.test>
Call-ID: call///[call_id]
CSeq: 2 INVITE
Contact: <sip:sf...@ahii-ims.test>
Content-Type: application/sdp
]]>
</send>
<recv response="200" rrs="true">
</recv>
<label id="2"/>
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10"/>
</scenario>
For Alice
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="simple IMS session setup, server-side">
<recv request="INVITE">
</recv>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[last_Via:]
[last_Record-Route:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:al...@[local_ip]:[local_port]>
Content-Length: 0
]]>
</send>
<pause milliseconds="2000"/>
<send retrans="500">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_Record-Route:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:al...@[local_ip]:[local_port]>
Allow: INVITE,REGISTER,ACK,BYE,INFO,REFER,NOTIFY,SUBSCRIBE,MESSAGE,CANCEL
Content-Type: application/sdp
Content-Length: [len]
v=0
o=- 53655765 2353687637 IN IP4 [local_ip]
s=-
c=IN IP4 [media_ip]
t=0 0
t=0 0
m=audio 49172 RTP/AVP 97
a=rtpmap:97 iLBC/8000
m=audio 49174 RTP/AVP 98
a=rtpmap:98 telephone-event/8000
a=recvonly
]]>
</send>
<recv request="ACK" crlf="true">
</recv>
<pause milliseconds="2000"/>
<send retrans="500">
<![CDATA[
REFER sip:b...@ahii-ims.test SIP/2.0
From: Alice <sip:al...@ahii-ims.test>;tag=[call_number]
To: Bob <sip:b...@ahii-ims.test>
CSeq: 1 REFER
[last_Call-ID:]
Refer-To: <sip:sf...@ahii-ims.test>
Referred-By: <al...@ahii-ims.test>
Contact: <sip:al...@ahii-ims.test>
Content-Length: 0
]]>
</send>
<recv response="202" crlf="true">
</recv>
<recv request="NOTIFY" crlf="true">
</recv>
<send retrans="500">
<![CDATA[
SIP/2.0 200 OK
From: Alice <sip:al...@ahii-ims.test>;tag=[call_number]
To: Bob <sip:b...@ahii-ims.test>
Call-ID: refer///[call_id]
CSeq: 2 NOTIFY
Content-Length: 0
]]>
</send>
<pause milliseconds="2000"/>
<send crlf="true">
<![CDATA[
BYE sip:b...@ahii-ims.test SIP/2.0
From: Alice <sip:al...@ahii-ims.test>;tag=[call_number]
To: Bob <sip:b...@ahii-ims.test>
Call-ID: refer///[call_id]
CSeq: 2 BYE
Content-Length: 0
]]>
</send>
<recv response="200" crlf="true">
</recv>
<recv request="NOTIFY" crlf="true">
</recv>
<send retrans="500">
<![CDATA[
SIP/2.0 200 OK
From: Alice <sip:al...@ahii-ims.test>;tag=[call_number]
To: Bob <sip:b...@ahii-ims.test>
Call-ID: refer///[call_id]
CSeq: 3 NOTIFY
Content-Length: 0
]]>
</send>
</scenario>
For Sfwan
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="REFER Scenario sfwan side">
<recv request="INVITE">
</recv>
<send crlf="true">
<![CDATA[
SIP/2.0 180 Ringing
From: Sfwan <sip:sf...@ahii-ims.test>;tag=[call_number]
To: Bob <sip:b...@ahii-ims.test>
Call-ID: call///[call_id]
CSeq: 2 INVITE
Contact: <sip:sf...@ahii-ims.test>
]]>
</send>
<send retrans="500">
<![CDATA[
SIP/2.0 200 OK
From: Sfwan <sip:sf...@ahii-ims.test>;tag=[call_number]
To: Bob <sip:b...@ahii-ims.test>
Call-ID: call///[call_id]
CSeq: 2 INVITE
Contact: <sip:sf...@ahii-ims.test>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: ...
v=0
o=sfwan 2890844527 2890844527 IN IP4 Ahii-ims.test
s=Session SDP
c=IN IP4 Ahii-ims.test
t=303442: 619 9
m=audio 49170 RTP/AVP 0
a=rtpmap:0 PCMU/8000
]]>
</send>
<recv request="ACK" crlf="true">
</recv>
<recv response="200" crlf="true">
</recv>
</scenario>
________________________________
The given results.
For Bob
2010-03-15 18:03:47: Aborting call on unexpected message for Call-ID
'1-6...@192.168.100.160': while expecting 'REFER', received 'SIP/2.0 408
Request Timeout
Via: SIP/2.0/UDP 192.168.100.160:10000;rport=10000;branch=z9hG4bK-6449-1-5
From: <sip:b...@ahii-ims.test>;tag=1
To: <al...@ahii-ims.test>;tag=61110223f7297ca6e31a6ebf274cf403-d022
Call-ID: call///1-6...@192.168.100.160
CSeq: 10 INVITE
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))
Content-Length: 0
Warning: 392 192.168.100.111:4060 "Noisy feedback tells: pid=7622
req_src_ip=192.168.100.111 req_src_port=6060
in_uri=sip:al...@192.168.100.160:9000 out_uri=sip:al...@192.168.100.160:9000
via_cnt==0"
' .
sipp: There were more errors, enable -trace_err to log them.
For Alice
2010-03-15 18:03:24: Aborting call on unexpected message for Call-ID
'1-6...@192.168.100.160': while expecting '202' response, received 'INVITE
sip:al...@192.168.100.160:9000 SIP/2.0
Record-Route: <sip:m...@pcscf.ahii-ims.test:4060;lr>
Record-Route: <sip:m...@scscf.ahii-ims.test:6060;lr>
Record-Route: <sip:m...@scscf.ahii-ims.test:6060;lr>
Record-Route: <sip:m...@pcscf.ahii-ims.test:4060;lr>
Via: SIP/2.0/UDP 192.168.100.111:4060;branch=z9hG4bK3bbf.ee9882a4.0
Via: SIP/2.0/UDP
192.168.100.111:6060;received=192.168.100.111;rport=6060;branch=z9hG4bK3bbf.699575c3.0
Via: SIP/2.0/UDP 192.168.100.111:6060;branch=z9hG4bK3bbf.599575c3.0
Via: SIP/2.0/UDP 192.168.100.111:4060;branch=z9hG4bK3bbf.de9882a4.0
Via: SIP/2.0/UDP 192.168.100.160:10000;rport=10000;branch=z9hG4bK-6449-1-5
Max-Forwards: 13
Privacy: none
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
From: <sip:b...@ahii-ims.test>;tag=1
To: <al...@ahii-ims.test>
Call-ID: call///1-6...@192.168.100.160
CSeq: 10 INVITE
Supported: 100rel
Contact: <sip:b...@192.168.100.160:10000>
User-Agent: Sipp v1.1-TLS, version 20061124
Allow: ACK, BYE, CANCEL, INVITE, REFER, OPTIONS, INFO, REGISTER, NOTIFY,
UPDATE, SUBSCRIBE, PRACK
Content-Type: application/sdp
Content-Length: 216
P-Asserted-Identity: <sip:b...@ahii-ims.test>
P-Charging-Vector:
icid-value="P-CSCFabcd4b9e3e2900000004";icid-generated-at=192.168.100.111;orig-ioi="Ahii-ims.test"
P-Called-Party-ID: <sip:al...@ahii-ims.test>
v=0
o=user1 53655765 2353687637 IN IP4 192.168.100.160
s=-
c=IN IP4 192.168.100.111
t=0 0
m=audio 49172 RTP/AVP 97
a=rtpmap:97 iLBC/8000
m=audio 49174 RTP/AVP 98
a=rtpmap:98 telephone-event/8000
a=recvonly
' .
sipp: There were more errors, enable -trace_err to log them.
________________________________
Has anybody any idea for REFER scenario using SIPp? and how to resolve these
errors?
With best my regards.
Regards,
Abobker
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users